Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add definition list tags #2

Merged
merged 1 commit into from
May 9, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/minimal/template.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Minimal::Template


AUTO_BUFFER = %r(^render|^error_message_|_select$|tag$|_to$|[^l]_for$|debug) # TODO explicitely whitelist helpers that return tags AUTO_BUFFER = %r(^render|^error_message_|_select$|tag$|_to$|[^l]_for$|debug) # TODO explicitely whitelist helpers that return tags
TAG_NAMES = %w(abbr a body div em fieldset h1 h2 h3 h4 h5 h6 head html img input label li TAG_NAMES = %w(abbr a body div em fieldset h1 h2 h3 h4 h5 h6 head html img input label li
link ol option p pre script select span strong table thead tbody tfoot td title th tr ul) link ol option p pre script select span strong table thead tbody tfoot td title th tr ul dl dd dt di)


module Base module Base
attr_accessor :view, :locals, :block attr_accessor :view, :locals, :block
Expand Down