-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Description
Markeep recent update broke the code snippets of this documentation.
To be more precise, this happend in version 1.18.
While undocumented, this breaking change actually enforces what the specs mentions:
Set off large blocks of code using equal-length strings of tilde ~ or back-tick ` characters.
Unfortunately, the documentation pages here are using a non-equal length, for example:
android-custom-lint-rules/docs/checks/AaptCrash.md.html
Lines 43 to 52 in ee6c2fa
| Here is an example of lint warnings produced by this check: | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text | |
| res/values/aaptcrash.xml:5:Error: This construct can potentially crash | |
| aapt during a build. Change @+id/titlebar to @id/titlebar and define the | |
| id explicitly using <item type="id" name="titlebar"/> instead. | |
| [AaptCrash] | |
| <item name="android:id">@+id/titlebar</item> | |
| -------------------------------------------- | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
It is as if it tries to use the same length, but including the language markers.
And this produces an erroneous output that can break the page rendering even more:
I'll prepare a PR to fix this globally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels