Merge pull request #1506 from Jarod42/FixQuoteEscapingForCodelite

Fix quote escaping in Codelite.
This commit is contained in:
Samuel Surtees 2020-08-31 22:27:04 +10:00 committed by GitHub
commit 670935a23f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
local result = value:gsub('&', '&')
result = result:gsub('<', '&lt;')
result = result:gsub('>', '&gt;')
result = result:gsub('"', '\\&quot;')
result = result:gsub('"', '&quot;')
return result
end

View File

@ -88,7 +88,7 @@
<Preprocessor Value="TEST"/>
<Preprocessor Value="DEF"/>
<Preprocessor Value="VAL=1"/>
<Preprocessor Value="ESCAPE=\&quot;WITH\ SPACE\&quot;"/>
<Preprocessor Value="ESCAPE=&quot;WITH\ SPACE&quot;"/>
</Compiler>
]]
end