forked from tanner/qotnews
		
	placehold.
This commit is contained in:
		| @@ -62,7 +62,7 @@ | ||||
| <article class="article"> | ||||
|   <header class="article-header"> | ||||
|     <h1 class="article-title"> | ||||
|       <Html html={story.title} /> | ||||
|       <Html html={story.title} text={story.title} /> | ||||
|     </h1> | ||||
|     {#if story.url} | ||||
|       <div>source: <a class="article-source" href={story.url}>{host}</a></div> | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
|   import { onMount } from "svelte"; | ||||
|  | ||||
|   export let html; | ||||
|   export let text; | ||||
|   let purify; | ||||
|  | ||||
|   onMount(() => { | ||||
| @@ -12,4 +13,4 @@ | ||||
|  | ||||
| {#if purify} | ||||
|   {@html html} | ||||
| {:else}{html}{/if} | ||||
| {:else if text}{text}{/if} | ||||
|   | ||||
| @@ -43,7 +43,7 @@ | ||||
|         class="story-icon" | ||||
|         style="height: 1rem; width: 1rem;" /> | ||||
|       <a class="story-title" rel="prefetch" href="/{story.id}"> | ||||
|         <Html html={story.title} /> | ||||
|         <Html html={story.title} text={story.title} /> | ||||
|       </a> | ||||
|       <a | ||||
|         class="story-source" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user