Skip to content

Commit

Permalink
Fix HTML syntax in thread view
Browse files Browse the repository at this point in the history
This fixes "span" element being closed twice.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  • Loading branch information
Rafał Miłecki committed Oct 24, 2021
1 parent 6bd7884 commit 84913f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/client/templates/thread-entry.tmpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)
); ?>
<span style="max-width:500px" class="faded title truncate"><?php
echo $entry->title; ?></span>
echo $entry->title; ?>
</span>
</div>
<div class="thread-body" id="thread-id-<?php echo $entry->getId(); ?>">
Expand Down
2 changes: 1 addition & 1 deletion include/staff/templates/thread-entry.tmpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
)
); ?>
<span style="max-width:400px" class="faded title truncate"><?php
echo $entry->title; ?></span>
echo $entry->title; ?>
</span>
</div>
<div class="thread-body no-pjax">
Expand Down

0 comments on commit 84913f5

Please sign in to comment.