mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
Show layer description with newlines in layer detail
A lot of people enter line breaks in their layer descriptions hoping that these will show up in the layer description, but of course since they are being displayed as part of an HTML document, they don't by default. Use a style in the description paragraph to ensure that they do. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
bed43a9be5
commit
3adddf6a25
|
@ -76,9 +76,7 @@
|
|||
|
||||
<div class="row-fluid">
|
||||
<div class="description span7">
|
||||
<p>
|
||||
{{ layeritem.description }}
|
||||
</p>
|
||||
<p style="white-space: pre">{{ layeritem.description }}</p>
|
||||
<p>
|
||||
{% if layeritem.usage_url %}
|
||||
<span class="label label-info">
|
||||
|
|
Loading…
Reference in New Issue
Block a user