merged branch corphi/master (PR #4231)

Commits
-------

be35099 Replaced » and   for XHTML compatibility
0a0e74b Replaced » by » (for XHTML compatibility)

Discussion
----------

Changes for XHTML compatibility

When using Symfony in XHTML mode, some entities cause YSODs. These changes should prevent that.

---------------------------------------------------------------------------

by travisbot at 2012-05-09T00:24:35Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1281344) (merged be350994 into e54f4e46).

---------------------------------------------------------------------------

by Tobion at 2012-05-09T00:46:19Z

+1
This commit is contained in:
Fabien Potencier 2012-05-10 07:16:44 +02:00
commit 1d2065eff0
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@
<ul>
{% for i, previous in exception.allPrevious %}
<li>
{{ previous.class|abbr_class }} <a href="#traces_link_{{ i + 1 }}" onclick="toggle('traces_{{ i + 1 }}', 'traces'); switchIcons('icon_traces_{{ i + 1 }}_open', 'icon_traces_{{ i + 1 }}_close');">&raquo;</a>
{{ previous.class|abbr_class }} <a href="#traces_link_{{ i + 1 }}" onclick="toggle('traces_{{ i + 1 }}', 'traces'); switchIcons('icon_traces_{{ i + 1 }}_open', 'icon_traces_{{ i + 1 }}_close');">&#187;</a>
</li>
{% endfor %}
</ul>

View File

@ -7,13 +7,13 @@
<form action="{{ path('_profiler_import') }}" method="post" enctype="multipart/form-data">
{% if token is not empty %}
<div style="margin-bottom: 10px">
&raquo;&nbsp;<a href="{{ path('_profiler_purge', { 'token': token }) }}">Purge</a>
&#187;&#160;<a href="{{ path('_profiler_purge', { 'token': token }) }}">Purge</a>
</div>
<div style="margin-bottom: 10px">
&raquo;&nbsp;<a href="{{ path('_profiler_export', { 'token': token }) }}">Export</a>
&#187;&#160;<a href="{{ path('_profiler_export', { 'token': token }) }}">Export</a>
</div>
{% endif %}
&raquo;&nbsp;<label for="file">Import</label><br />
&#187;&#160;<label for="file">Import</label><br />
<input type="file" name="file" id="file" /><br />
<button type="submit">
<span class="border_l">