ã¦ã§ããæ±ãã©ã¤ãã©ãªãããã°ã©ã ã§å¿ ãã¨è¨ã£ã¦è¯ãã»ã©è¦ããããã®ã«ãescapeHTML ã¨ããé¢æ°ãããã¾ãã "&" çãç¹å¥ãªæå³ãæã¤æåãã表示çã®ããã«å®ä½åç § (&) ã«å¤æããã決ã¾ãã®é¢æ°ãªãã§ãããå®è£ ã«ã¯è²ã ã¨ããªã¨ã¼ã·ã§ã³ããããã®ã§ãã 1. String#replace ã¡ã½ãããç¹°ãè¿ã (MochiKit ç) function escapeHTML(str) { return str.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"); }ãã®ãã¿ã¼ã³ãæãå¤ãè¦åãããã¾ããRuby ã§ãåæ§ã« gsub ãç¹°ãè¿ãæ¹å¼ãè¦ããããã¨ãããã¾ã (ä¾: RSS::Utils.html_escape)ã 2. Str
{{#tags}}- {{label}}
{{/tags}}