Skip to content

Commit

Permalink
Merge #52 - Don't inject <br> tags into <pre> examples
Browse files Browse the repository at this point in the history
Pull-request: #52
  • Loading branch information
williamdes committed Nov 18, 2022
2 parents 8a642d0 + 302b7aa commit 19809fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/themes/default/class.twig
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
{% for example in method.getExamples() %}
<tr>
<td><pre class="examples">
{{- example|join(' ')|nl2br -}}
{{- example|join(' ') -}}
</pre></td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 19809fc

Please sign in to comment.