-
-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Hi
i'm constructing a new rule that will detect lines inside Docbook's element that are longer than 80 characters.
I've successfully detected the starting version <screen>some long sentence and ending version some long sentence</screen> and one-liner <screen>some long sentence</screen>.
But if the content of the <screen/> element is multiline text, i dont know how to construct the rule, help much appreciated.
Here is the rule file https://github.com/openSUSE/suse-vale-styleguide/blob/e83b27903567c8cc69fc6a73617b05b0f7603000/docbook/LongScreen.yml
Here is the test file https://github.com/openSUSE/suse-vale-styleguide/blob/e83b27903567c8cc69fc6a73617b05b0f7603000/tests/LongScreen-bad.xml
The middle line of the following example should be matched as well
