~cadence/breezewiki-discuss

1

witchs-heart: Infobox contents expand off the infobox

Details
Message ID
<D3MFB8YCQJ2O.XEZ9BL6K9O5R@disroot.org>
DKIM signature
pass
Download raw message
There appears to be a bug where the contents of infoboxes take up the entire 
page, and not just the section dedicated for it.

Example URL: https://antifandom.com/witchs-heart/wiki/Claire_Elford
Example screenshot from Breezewiki: https://files.catbox.moe/9bjg6y.png
Example screenshot from Fandom: https://files.catbox.moe/8hiyjv.png
Details
Message ID
<D3MGAF7OQOAH.12QAM31EAST6X@disroot.org>
In-Reply-To
<D3MFB8YCQJ2O.XEZ9BL6K9O5R@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Seems to be due to the HTML parser. This example code:

#lang racket/base
(require
    "lib/html-parsing/main.rkt"
    html-writing)

(define html "<div><aside><h2>ABC</h2><p>DEF</p></aside></div>")
(define xexp (html->xexp html))
(display xexp)

Outputs the following:

(*TOP* (div (aside (h2 ABC)) (p DEF)))
Reply to thread Export thread (mbox)