mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Ensure title doesnt get html encoded with new appreader
This commit is contained in:
parent
b3f46f4ce5
commit
709b96eaa7
1 changed files with 1 additions and 4 deletions
|
|
@ -41,9 +41,6 @@ struct WebReaderContent {
|
|||
<div id='_omnivore-htmlContent' style="display: none;">
|
||||
\(articleContent.htmlContent)
|
||||
</div>
|
||||
<div id='_omnivore-title' style="display: none;">
|
||||
\(item.title)
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
window.omnivoreEnv = {
|
||||
"NEXT_PUBLIC_APP_ENV": "prod",
|
||||
|
|
@ -60,7 +57,7 @@ struct WebReaderContent {
|
|||
savedAt: \(savedAt),
|
||||
publishedAt: \(publishedAt),
|
||||
url: `\(item.pageURLString)`,
|
||||
title: document.getElementById('_omnivore-title').innerHTML,
|
||||
title: `\(item.title.replacingOccurrences(of: "`", with: "\\`"))`,
|
||||
content: document.getElementById('_omnivore-htmlContent').innerHTML,
|
||||
originalArticleUrl: "\(item.pageURLString)",
|
||||
contentReader: "WEB",
|
||||
|
|
|
|||
Loading…
Reference in a new issue