summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/metadata.lua4
-rw-r--r--scripts/page.lua2
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/metadata.lua b/scripts/metadata.lua
index 843ed3c..f83b314 100644
--- a/scripts/metadata.lua
+++ b/scripts/metadata.lua
@@ -145,6 +145,10 @@ function process_base(build, meta)
145 meta.post_icon = meta.post_icon or (meta.parent and meta.parent.list_post_icon) or 145 meta.post_icon = meta.post_icon or (meta.parent and meta.parent.list_post_icon) or
146 (meta.parent and meta.parent.parent and meta.parent.parent.list_post_icon) 146 (meta.parent and meta.parent.parent and meta.parent.parent.list_post_icon)
147 meta.indicator = meta.parent and meta.parent.list_read_indicators 147 meta.indicator = meta.parent and meta.parent.list_read_indicators
148
149 meta.content = meta.content:filter(function (el)
150 return el.tag ~= "LineBreak"
151 end)
148end 152end
149 153
150function process(global, build, meta) 154function process(global, build, meta)
diff --git a/scripts/page.lua b/scripts/page.lua
index 72158a1..4c1e096 100644
--- a/scripts/page.lua
+++ b/scripts/page.lua
@@ -214,7 +214,7 @@ function process_base(meta)
214 meta.prev = meta.prev and utils.stringify(meta.prev) 214 meta.prev = meta.prev and utils.stringify(meta.prev)
215 meta.next = meta.next and utils.stringify(meta.next) 215 meta.next = meta.next and utils.stringify(meta.next)
216 meta.content = meta.content:filter(function (el) 216 meta.content = meta.content:filter(function (el)
217 return el.tag ~= "Str" or el.text ~= "ΒΆ" 217 return el.tag ~= "LineBreak"
218 end) 218 end)
219end 219end
220 220