[Tickets #2752] NEW: Horde_UI_Tabs replaces wrong space with  

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Oct 9 16:57:50 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=2752
-----------------------------------------------------------------------
 Ticket             | 2752
 Created By         | Matt Selsky <selsky at columbia.edu>
 Summary            | Horde_UI_Tabs replaces wrong space with &nbsp;
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Accepted
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


Matt Selsky <selsky at columbia.edu> (2005-10-09 16:57) wrote:

In framework/UI/UI/Tabs.php:render() around line 104 there is a replacement
of ' ' with '&nbsp;'.  This replaces spaces in tab titles with non-breaking
spaces, but it also replaces spaces in the xhtml tags.  For example on
nag/lists.php, the following snippet is produced:

<div class="tabset"><ul>
<li class="activeTab"><a href="/horde/nag/list.php?show_completed=1"
accesskey="A"><span&nbsp;class="accessKey">A</span>ll&nbsp;tasks</a> </li>
<li><a href="/horde/nag/list.php?show_completed=0">Incomplete&nbsp;tasks</a>
</li>

<li><a href="/horde/nag/list.php?show_completed=2"
accesskey="C"><span&nbsp;class="accessKey">C</span>ompleted&nbsp;tasks</a>
</li>
</ul></div>




More information about the bugs mailing list