feat: cut out h3s so only the text is left
This commit is contained in:
@@ -29,6 +29,7 @@ kv_text () {
|
|||||||
|
|
||||||
kv_GET "/$text_id.text" \
|
kv_GET "/$text_id.text" \
|
||||||
| sed -n '/<h1>/,/<!-- Kommentarbox -->/p' \
|
| sed -n '/<h1>/,/<!-- Kommentarbox -->/p' \
|
||||||
|
| sed 's/<h3>.\+<\/h3>//g' \
|
||||||
| pandoc -f html -t plain
|
| pandoc -f html -t plain
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user