mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -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):
|
if re.match(pattern, codec):
|
||||||
return file
|
return file
|
||||||
return codec
|
return codec
|
||||||
|
|
||||||
|
def br(text):
|
||||||
|
return text.replace('\n', '<br /><br />')
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<%inherit file="base.html"/>
|
<%inherit file="base.html"/>
|
||||||
|
@ -250,7 +253,7 @@ DOCUMENTATION :: END
|
||||||
</div>
|
</div>
|
||||||
% endif
|
% endif
|
||||||
<div class="summary-content-summary">
|
<div class="summary-content-summary">
|
||||||
<p> ${data['summary']} </p>
|
<p> ${data['summary'] | br, n} </p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue