summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-autoref-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/visus-autoref-1.0.xml')
-rw-r--r--server/xml/macros/visus-autoref-1.0.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/server/xml/macros/visus-autoref-1.0.xml b/server/xml/macros/visus-autoref-1.0.xml
index b64e476..439e5b0 100644
--- a/server/xml/macros/visus-autoref-1.0.xml
+++ b/server/xml/macros/visus-autoref-1.0.xml
@@ -9,6 +9,10 @@
fjern tilsvarende GUI felter der ikke skal bruges
-->
<resume language="lua">
+ function lttoxml(value)
+ return string.gsub(value, '&lt;', '&amp;lt;')
+ end
+
out = ''
if ( getValue('visus.autoref.mangler.odxt') == '' )
then
@@ -24,7 +28,7 @@
out = out .. ':\n'
if ( getValue('visus.autoref.snellen.odxt') ~= '' )
then
- out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.odxt') .. '\n'
+ out = out .. 'Snellen: ' .. lttoxml(getValue('visus.autoref.snellen.odxt')) .. '\n'
end
if ( getValue('visus.autoref.etdrs.odxt') ~= '' )
then
@@ -61,7 +65,7 @@
out = out .. ':\n'
if ( getValue('visus.autoref.snellen.osin') ~= '' )
then
- out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.osin') .. '\n'
+ out = out .. 'Snellen: ' .. lttoxml(getValue('visus.autoref.snellen.osin')) .. '\n'
end
if ( getValue('visus.autoref.etdrs.osin') ~= '' )
then
@@ -280,6 +284,7 @@
<item caption="0,1" value="0,1"/>
<item caption="0,08" value="0,08"/>
<item caption="0,05" value="0,05"/>
+ <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
<item caption="6/60" value="6/60"/>
<item caption="3/60" value="3/60"/>
<item caption="1/18" value="1/18"/>
@@ -465,6 +470,7 @@
<item caption="0,1" value="0,1"/>
<item caption="0,08" value="0,08"/>
<item caption="0,05" value="0,05"/>
+ <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
<item caption="6/60" value="6/60"/>
<item caption="3/60" value="3/60"/>
<item caption="1/18" value="1/18"/>