D23400: reST: handle some more corner cases, add an actual test file
Vladimír Vondruš
noreply at phabricator.kde.org
Mon Aug 26 20:09:23 BST 2019
mosra updated this revision to Diff 64694.
mosra added a comment.
Hmm, actually during use I discovered that the newly added "default role" was marking everything after the backticks as a role... and the test file was crafted in a way that didn't make that visible. Sorry for submitting too fast :)
Updated the patch to fix this (adding an explicit `DefaultRole` now), also adapting the test file and outputs. And unified the regexps between directives and roles to handle the internal colons the same in both cases.
I don't have commit rights, the name + e-mail I'm using is `Vladimír Vondruš <mosra at centrum.cz>`. Thank you!
REPOSITORY
R216 Syntax Highlighting
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D23400?vs=64515&id=64694
REVISION DETAIL
https://phabricator.kde.org/D23400
AFFECTED FILES
autotests/folding/highlight.cmake.fold
autotests/folding/highlight.rst.fold
autotests/html/highlight.cmake.html
autotests/html/highlight.rst.html
autotests/input/highlight.cmake
autotests/input/highlight.rst
autotests/reference/highlight.cmake.ref
autotests/reference/highlight.rst.ref
data/syntax/rest.xml
To: mosra, cullmann, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, turbov, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190826/9e871c93/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list