trying to get paragraphs in list items under control
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -37,10 +37,11 @@
|
||||
{/if}
|
||||
{#if object}
|
||||
{#if module=='bookmark'}
|
||||
<div>
|
||||
{@html target(object.comment.rendered)}
|
||||
{@html target(object.comment.rendered).replace(/<p>(.*?)<\/p>/, '$1')} <!-- this is a workaround for in-proper formatting of paragraphs within list items in firefox -->
|
||||
<p>
|
||||
<a href={object.url}>{object.url}</a>
|
||||
</div>
|
||||
</p>
|
||||
<hr/>
|
||||
{:else if module=='task' || module=='project'}
|
||||
<span onclick={go}>{object.name}</span>
|
||||
{:else if module=='document'}
|
||||
|
||||
Reference in New Issue
Block a user