vimwiki icon indicating copy to clipboard operation
vimwiki copied to clipboard

Missing </blockquote> tag in html

Open ludenticus opened this issue 1 year ago • 0 comments

Problem description

Vimwiki produces no closing tag of blockquote. Maybe related to issue #1007.

I have the following text:

= Header =
Lorem ipsum

> Lorem ipsum

== Header ==

Converted to html it produces

<div id="Header"><h1 id="Header" class="header"><a href="#Header">Header</a></h1></div>
<p>
Lorem ipsum
</p>

<blockquote>
<p>
 Lorem ipsum

</pre></code>
<div id="Header-Header"><h2 id="Header" class="header"><a href="#Header-Header">Header</a></h2></div>
<p>
Lorem ipsum
</p>

As you can see, there are no </p> and </blockquote> tags. Instead, there are two closing tags: </pre> and </code>. It only happens whenever there is a Header next to the blockquote. If there is a regular paragraph after the blockquote, it produces the html as it should. Four spaces produce <code> and </code> tags.

Version

Version: 2024.01.24
OS: Linux
Neovim: 0.9.4

ludenticus avatar Mar 15 '24 11:03 ludenticus