#24233 closed defect (fixed)

<donatefaq> has strange <U+200B> character at the front

Reported by: arma Owned by: hiro
Priority: Medium Milestone:
Component: Webpages/Website Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Commit b4d22a29 in the webwml repo is

--- a/include/donatehead.wmi
+++ b/include/donatehead.wmi
@@ -34,7 +34,7 @@
       </div>
       <ul id="navbar" class="nav navbar-nav navbar-right">
         <li><a href="<page about/overview>">About</a></li>
-        <li><a href="<U+200B>https://donate.torproject.org/donor-faq">Questions?</a></li>
+        <li><a href="<donatefaq>">Questions?</a></li>
       </ul>
     </div>
   </nav>

and then

+<define-tag donatefaq whitespace=delete><U+200B>https://donate.torproject.org/donor-faq</define-tag>

I guess the whitespace=delete saves you here, but the right fix would have been to remove the strange hard-to-print character. Hopefully this is useful for next time. It is probably still best to remove the strange hard-to-print character, lest it bite you in the future.

Child Tickets

Change History (1)

comment:1 Changed 16 months ago by hiro

Resolution: fixed
Status: assignedclosed

Thanks for pointing this out. This should be fixed now.

Note: See TracTickets for help on using tickets.