diff options
author | 2023-04-10 20:57:54 +0300 | |
---|---|---|
committer | 2023-04-10 20:58:32 +0300 | |
commit | af74d483c4bd89e733379876f6185a4c9118a646 (patch) | |
tree | e5221b79024d16f73665f5d881ce04d463f4f7c2 /web | |
parent | update node dependencies (diff) | |
download | soko-af74d483c4bd89e733379876f6185a4c9118a646.tar.gz soko-af74d483c4bd89e733379876f6185a4c9118a646.tar.bz2 soko-af74d483c4bd89e733379876f6185a4c9118a646.zip |
app/packages/show: better rendering of newlines in description
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r-- | web/templates/packages/components/overview.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/packages/components/overview.tmpl b/web/templates/packages/components/overview.tmpl index d0596f3..0e322f3 100644 --- a/web/templates/packages/components/overview.tmpl +++ b/web/templates/packages/components/overview.tmpl @@ -37,7 +37,7 @@ </p> {{end}} - <strong class="kk-mask-reason">{{(getMask .Versions).Reason}}</strong> + <strong class="kk-mask-reason">{{replaceNewline (getMask .Versions).Reason}}</strong> <div class="kk-mask-details"> @@ -68,7 +68,7 @@ <div class="card bg-warning mb-3"> <ul class="list-group list-group-flush bg-warning"> <li class="list-group-item bg-warning"> - <strong class="kk-mask-reason">{{(getDeprecation .Versions).Reason}}</strong> + <strong class="kk-mask-reason">{{replaceNewline (getDeprecation .Versions).Reason}}</strong> <div class="kk-mask-details"> |