Copy link to clipboard
Copied
For some reason DW 2017, ads spaces around double quotes:
Before Applying Source Code Format:
<a href="<?php echo Url("blog/");?>" class="text"> Blog</a>
and after:
<a href="<?php echo Url(" blog/ ");?>" class="text">Blog</a>
notice the extra white space within url function.
Copy link to clipboard
Copied
yes it's a kind of bug... but it is because the core hosting format is HTML... and you have 'sort' of nested double quoted (path string inside the attribute value)... replace the URL quoting by a simple quote, and that wont generate extra space
<a href="<?php echo Url('blog/');?>" class="text"> Blog</a>