File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ function runSearch() {
109109 $ topic = $ row ['topic ' ];
110110 $ pattern = $ row ['pattern ' ];
111111 $ thatpattern = $ row ['thatpattern ' ];
112- $ template = htmlentities ($ row ['template ' ]);
112+ $ template = htmlentities ($ row ['template ' ], ENT_COMPAT , ' UTF-8 ' );
113113 $ filename = $ row ['filename ' ];
114114 $ id = $ row ['id ' ];
115115 $ action = <<<endLink
@@ -163,7 +163,7 @@ function editAIMLForm($id) {
163163 $ topic = $ row ['topic ' ];
164164 $ pattern = $ row ['pattern ' ];
165165 $ thatpattern = $ row ['thatpattern ' ];
166- $ row_template = htmlentities ($ row ['template ' ]);
166+ $ row_template = htmlentities ($ row ['template ' ], ENT_COMPAT , ' UTF-8 ' );
167167 $ filename = $ row ['filename ' ];
168168 $ id = $ row ['id ' ];
169169 $ form = $ template ->getSection ('EditAIMLForm ' );
You can’t perform that action at this time.
0 commit comments