Skip to content

Commit 484f38b

Browse files
authored
Fix XML validation issues
add xml escapes
1 parent db7642a commit 484f38b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

yara/syntaxes/yara.tmLanguage

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<key>name</key>
8787
<string>keyword.operator.bitwise.yara</string>
8888
<key>match</key>
89-
<string>(\&|\||\>\>|\<\<|~|\^)</string>
89+
<string>(\&amp;|\||\&gt;\&gt;|\&lt;\&lt;|~|\^)</string>
9090
</dict>
9191
<!-- condition: -->
9292
<dict>
@@ -188,7 +188,7 @@
188188
<key>name</key>
189189
<string>keyword.operator.relational.yara</string>
190190
<key>match</key>
191-
<string>(\<=?|\>=?|==|\!=)</string>
191+
<string>(\&lt;=?|\&gt;=?|==|\!=)</string>
192192
</dict>
193193
<!-- rule -->
194194
<dict>
@@ -349,4 +349,4 @@
349349
</array>
350350
</array>
351351
</dict>
352-
</plist>
352+
</plist>

0 commit comments

Comments
 (0)