mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Fix line breaks in info page summaries
This commit is contained in:
parent
59ce3404c9
commit
254f41a2cc
1 changed files with 4 additions and 1 deletions
|
@ -53,6 +53,9 @@ DOCUMENTATION :: END
|
|||
if re.match(pattern, codec):
|
||||
return file
|
||||
return codec
|
||||
|
||||
def br(text):
|
||||
return text.replace('\n', '<br /><br />')
|
||||
%>
|
||||
|
||||
<%inherit file="base.html"/>
|
||||
|
@ -250,7 +253,7 @@ DOCUMENTATION :: END
|
|||
</div>
|
||||
% endif
|
||||
<div class="summary-content-summary">
|
||||
<p> ${data['summary']} </p>
|
||||
<p> ${data['summary'] | br, n} </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue