https://bugs.kde.org/show_bug.cgi?id=398314
Bug ID: 398314 Summary: Single quotes in literal style block scalars break YAML syntax highlighting Product: kate Version: 18.08.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: syntax Assignee: kwrite-bugs-n...@kde.org Reporter: buo.ren....@gmail.com Target Milestone: --- Created attachment 114802 --> https://bugs.kde.org/attachment.cgi?id=114802&action=edit sample file Refer the following attached sample file and screenshot, the content in a literal style block scalars should allow any printable characters: ``` Inside literal scalars, all (indented) characters are considered to be content, including white space characters. Note that all line break characters are normalized. In addition, empty lines are not folded, though final line breaks and trailing empty lines are chomped. There is no way to escape characters inside literal scalars. This restricts them to printable characters. In addition, there is no way to break a long literal line. ``` But currently, all contents after a single quote is highlighted red until another single quote is encountered. Refer to: Literal Style - Block Scalar Styles - Block Styles - YAML Ain’t Markup Language (YAML™) Version 1.2 <http://yaml.org/spec/1.2/spec.html#id2795688> YAML highlight definition file: version 4 -- You are receiving this mail because: You are watching all bug changes.