generated HTML in the docs is sometimes falsely escaped
mqus opened this issue · 10 comments
Hi!
While rewriting my rc.lua to awesome4(thank you for the nice work btw ;-) ) i noticed some 'over-escaped' statements in the examples section of https://awesomewm.org/apidoc/classes/wibox.widget.progressbar.html# that shouldn't be there
example:
value = <span class="number">0.33</span>
should be:
value = 0.33
Uhm. The question is: Why is the doc wrong? I have the correct docs locally. Does Ubuntu Ancient have a version of markdown-something with a different behaviour?
Oh and: I think this span tag is added by LDoc/markdown/something-else and not by us...?
Maybe related to having lua-discount
installed or not?!
Also there are different markdown
implementations being considered by ldoc
itself.
FWIW: it looks good locally for me, too.
I have lua-discount 2.1.8-2 (debian testing) installed. I do not have lua-markdown installed. Those are the two optional dependencies of lua-ldoc here.
Travis uses lua-discount 1.2.10.1-1. https://travis-ci.org/awesomeWM/awesome/jobs/194257428#L2127 and markdown-0.33-1 https://travis-ci.org/awesomeWM/awesome/jobs/194257428#L1883 (???).
Maybe awesomeWM/awesome#1428 fixes it?!
Tried the forceful removal of markdown
in there, but did not change anything: awesomeWM/apidoc@7fca69d...ac0e4d6#diff-53d596669c052ae5438516a7fecaf67d (https://github.com/awesomeWM/apidoc/blob/ac0e4d687f0250749eb05edabfbdece7b2d2e955/classes/wibox.widget.progressbar.html#L193).
https://awesomewm.org/apidoc/documentation/06-appearance.md.html
https://awesomewm.org/doc/api/documentation/06-appearance.md.html
Are different, apidoc
is correct, doc/api
is wrong
Then the wrong one is caused by https://github.com/awesomeWM/awesome-www/blob/master/.travis.yml.
Or it is fixed by now, but we're building the v4 tag there still..?!
I've built v4.0 locally, and it is also correct (i.e. arcchart_border_color
and not arcchartbordercolor
like on /doc/api..
as this seems to be solved (Thank you!), I'll close the issue