#15 Index may have unclosed tags in post previews

オープン
6 年 前PangolinTurtle によって開かれました · 2 コメント
Jason K. MacDuffie6 年 前 にコメントしました

It is possible for index.html to have an unclosed tag if there is a list in a blog post. Here's an example post:

This is just a test!

- Line 1 says something, and maybe a few more sentences. Here is some more words.
- Line 2 says something, and maybe a few more sentences. Here is some more words.
- Line 3 says something, and maybe a few more sentences. Here is some more words.
- Line 4 says something, and maybe a few more sentences. Here is some more words.
- Line 5 says something, and maybe a few more sentences. Here is some more words.

Here's the rest of the blog post.

Put this in posts/ and build.

It is possible for index.html to have an unclosed tag if there is a list in a blog post. Here's an example post: This is just a test! - Line 1 says something, and maybe a few more sentences. Here is some more words. - Line 2 says something, and maybe a few more sentences. Here is some more words. - Line 3 says something, and maybe a few more sentences. Here is some more words. - Line 4 says something, and maybe a few more sentences. Here is some more words. - Line 5 says something, and maybe a few more sentences. Here is some more words. Here's the rest of the blog post. Put this in posts/ and build.
PangolinTurtle 6 年 前 に閉じられました
PangolinTurtle 6 年 前 に再び開かれました
Jorge Maldonado Ventura6 年 前 にコメントしました
共同編集者

We should calculate the word count based on the Markdown code instead of the HTML. What do you think, @SylvieLorxu?

We should calculate the word count based on the Markdown code instead of the HTML. What do you think, @SylvieLorxu?
Sylvia van Os6 年 前 にコメントしました
オーナー

That sounds like an improvement. I think the main issue here is that we'll somehow have to detect unclosed tags. We could simply filter out tags in the sed statement on https://notabug.org/SylvieLorxu/mkblog.sh/src/master/.mkblog.sh#L219 but that would remove the ability to have things like images in the preview.

That sounds like an improvement. I think the main issue here is that we'll somehow have to detect unclosed tags. We could simply filter out tags in the sed statement on https://notabug.org/SylvieLorxu/mkblog.sh/src/master/.mkblog.sh#L219 but that would remove the ability to have things like images in the preview.
会話に参加するには サインイン してください。
ラベルなし
マイルストーンなし
担当者なし
3 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません