178 days ago · Tech · hide · Fediverse post

Yesterday, I already had a strong gut feeling that combining my custom-made PmWiki markup with the original built-in PmWiki markup is not that easy. Turns out, it’s true. Ctify_ v26.6.2 has this specific bug regarding the recently added “foldered preformatted text block” functionality.In short, you can’t simply wrap the main text with `<pre class=’escaped’></pre>` and expect it to be escaped, because PmWiki will internally preprocess that text first instead of leaving it raw.So today, I noticed that for every newline in the main text, PmWiki replaces it with this `<:vspace>` tag. Later, this `vspace` tag -- and its CSS class -- causes it to appear “bigger than the usual newline”, something affected by either `margin-top` CSS or `padding-top` CSS. Ruining the aesthetics that I personally prefer.So, I wish I could skip this PmWiki preprocessing code and make it show the good old newline.But this preprocessing code is buried deep within `scripts/stdmarkup.php`. It’s not the usual…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town