diff options
Diffstat (limited to 'server/xml/macros/visus-ou-1.0.xml')
-rw-r--r-- | server/xml/macros/visus-ou-1.0.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/xml/macros/visus-ou-1.0.xml b/server/xml/macros/visus-ou-1.0.xml index d03607f..3382b4d 100644 --- a/server/xml/macros/visus-ou-1.0.xml +++ b/server/xml/macros/visus-ou-1.0.xml @@ -1,6 +1,10 @@ <?xml version='1.0' encoding='UTF-8'?> <macro name="visus-ou" version="1.0"> <resume language="lua"> + function lttoxml(value) + return string.gsub(value, '<', '&lt;') + end + out = '' out = out .. 'Visus, o.u.' if ( getValue('visus.ou.kontrast') ~= '' ) @@ -14,7 +18,7 @@ out = out .. ':\n' if ( getValue('visus.ou.snellen') ~= '' ) then - out = out .. 'Snellen: ' .. getValue('visus.ou.snellen') .. '\n' + out = out .. 'Snellen: ' .. lttoxml(getValue('visus.ou.snellen')) .. '\n' end if ( getValue('visus.ou.etdrs') ~= '' ) then @@ -136,6 +140,7 @@ <item caption="0,1" value="0,1"/> <item caption="0,08" value="0,08"/> <item caption="0,05" value="0,05"/> + <item caption="&lt;0,05" value="&lt;0,05"/> <item caption="6/60" value="6/60"/> <item caption="3/60" value="3/60"/> <item caption="1/18" value="1/18"/> |