[ prog / sol / mona ]

prog


What's the internet's __worst__ kept secret?

3 2019-12-27 11:30

>>2
Italic markup is handled in lib/markup.scm:italic. The called-by graph can be traced as italic => line-scanner => [format-paragraph, rformat-paragraph] => [format-blockquote, markup->sxml] => [markup->sxml .] which unifies as lib/markup.scm:markup->sxml. This switches to bbs.scm in [post-message, post-thread]. The former handles posting messages within a thread and has no concept of headline. The latter handles new threads and has a let* that includes:

(message (decode-formdata (lookup-def 'epistula params)))
(headline (decode-formdata (lookup-def 'titulus params)))

The markup->sxml call is in the next let* as:

(sxml (markup->sxml message board (number->string thread-number))))

So the headline is never subjected to markup->sxml and therefore neither to italic.

22


VIP:

do not edit these