Fix quote escaping.

-> fix define with quote
-> fix SharedLib (at least on windows).
This commit is contained in:
Jarod42 2020-08-30 09:38:26 +02:00
parent 591194dfcf
commit 9842a9c61a
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

@ -77,7 +77,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