Xslate ã®ã¨ã¹ã±ã¼ãããªã·ã¼ã«ã¤ãã¦èããã®ã§ãããã§ã¾ã¨ãã¦ãã*1ã Xslate ã®ã¨ã¹ã±ã¼ãå¦çã«ã¤ãã¦ãè¦ãããã¨ã¯ä»¥ä¸ã®ä¸ã¤ã§ãã*2ã ãã³ããã¼ãã¿ã°å ã§çæããå¤ã¯èªåçã«ã¨ã¹ã±ã¼ãããã ã¨ã¹ã±ã¼ãå¦çããããããªãã¨ãã¯mark_raw ãã£ã«ã¿ã使ã ã¨ã¹ã±ã¼ãå¦çãå¼·å¶ããããã¨ã㯠unmark_rawãã£ã«ã¿ã使ã 以ä¸ã詳ãã解説ããã ã¾ããåºæ¬çã«ã¯ Text::MicroTemplate ã®ããªã·ã¼ãè¸è¥²ãã¦ãã*3ãããªãã¡ããã³ãã¬ã¼ãã¿ã°å ã§çæãããæååã«ã¤ãã¦ã¯ãHTMLã®ã¡ã¿æå(< > & " &apos)ãèªåçã«ã¨ã¹ã±ã¼ãããããã¨ã¹ã±ã¼ãå¦çã¯ãä¸è¬å¼ã«å¯¾ããåºåã³ãã³ããæ ã£ã¦ããã # Text::Xslate version 0.1032 $ xslate -e '<foo>' # å°ã®æååã¯ãã®ã¾ã¾åºå <foo>
{{#tags}}- {{label}}
{{/tags}}