| Class | Tags::HtmlMetaInfo |
| In: |
lib/webgen/plugins/tags/htmlmetainfo.rb
|
| Parent: | DefaultTag |
# File lib/webgen/plugins/tags/htmlmetainfo.rb, line 13
13: def process_tag( tag, chain )
14: cur_node = chain.last
15: s = ""
16: ['description', 'author', 'keywords'].each do |key|
17: if value = cur_node.meta_info[key]
18: value = CGI::escapeHTML(value)
19: s += "<meta name='#{key}' content='#{value}'/>\n"
20: end
21: end
22: s
23: end