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š <mo...@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