• second slash in links to child pages, evo 1.0.5, ditto 2.1.0, magic quotes off#

  • alexman Reply #1, 6 months, 2 weeks ago

    Reply
    Hi,
    I'm having a weird problem
    I use ditto to list children document on a parent page. It works well, but the foremost slash in links to children pages is always doubled.
    here's my chunk for an item:
    <div class='news'>
    <h2>[+title+]</h2><div style="clear:both;"></div><br/>
    <div class='actiontext'>[+introtext+]</div>
    <a class="more" href="[~[+id+]~]" title="Read more...">Read more...</a>
    </div>
    <div style="clear:both;"></div>
    

    and href="[~[+id+]~]" from this chunk is always rendered as href="//link/to/my/page.html" - note two backslashes instead of one.
    Why does it happen? How would I fix this?


  • alexman Reply #2, 6 months, 2 weeks ago

    Reply
    sorry, this problem is not related to ditto,
    all links from "[~id~]" tag have double leading slashes. How can I fix this?

    to moderator: could you please move this topic to appropriate forum