Ver Fonte

[display] also escape " to " for xmls

Dan Korostelev há 9 anos atrás
pai
commit
eaa4106781
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/main.ml

+ 1 - 0
src/main.ml

@@ -162,6 +162,7 @@ let htmlescape s =
 	let s = String.concat "&" (ExtString.String.nsplit s "&") in
 	let s = String.concat "&lt;" (ExtString.String.nsplit s "<") in
 	let s = String.concat "&gt;" (ExtString.String.nsplit s ">") in
+	let s = String.concat "&quot;" (ExtString.String.nsplit s "\"") in
 	s
 
 let reserved_flags = [