- 17 6月, 2010 1 次提交
-
-
由 Rizwan Reza 提交于
-
- 08 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 28 3月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 15 3月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 12 3月, 2010 1 次提交
-
-
由 Jeroen van Dijk 提交于
-
- 10 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 15 2月, 2010 2 次提交
-
-
Signed-off-by: NYehuda Katz <yehudakatz@YK.local>
-
由 Bruno Michel 提交于
Signed-off-by: NYehuda Katz <yehudakatz@YK.local>
-
- 06 2月, 2010 1 次提交
-
-
[#3856 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 01 2月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NYehuda Katz <wycats@Yehuda-Katz.local>
-
由 Yehuda Katz 提交于
For performance reasons, you can no longer call html_safe! on Strings. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
-
- 08 10月, 2009 1 次提交
-
-
由 Michael Koziarski 提交于
This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
-
- 04 9月, 2009 1 次提交
-
-
由 Michael Koziarski 提交于
Addresses CVE-2009-3009
-
- 09 8月, 2009 1 次提交
-
-
由 rizwanreza 提交于
Example: content_tag('p', "limelight", :class => ["song", "play"]) # => <p class="song play">limelight</p> Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 31 7月, 2009 1 次提交
-
-
由 Marc Love 提交于
Fix tag helpers so that all HTML element boolean attributes render according to the specs. Added all boolean attributes listed in the XHTML 1.0 specs (http://www.w3.org/TR/xhtml1/guidelines.html) and HTML 5 specs (http://www.whatwg.org/specs/web-apps/current-work). HTML 5 boolean attribute rendering was broken in commit 1e2d7229 / [#2864 state:resolved]. Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
- 08 7月, 2009 1 次提交
-
-
由 Emilio Tagua 提交于
Adds a audio_tag helper for the HTML5 audio tag. Fixed video_path docs. HTML attributes values should be true or false not attribute's name. [#2864 state:resolved] Signed-off-by: NYehuda Katz <wycats@yehuda-katzs-macbookpro41.local>
-
- 03 7月, 2009 1 次提交
-
-
由 Tieg Zaharia 提交于
Adds a video_tag helper for the HTML5 video tag (similar to how the image_tag works) (tests included); removes a duplicate test line for image_tag; adds boolean attributes for video tag to tag()'s boolean attributes Signed-off-by: NYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
-
- 15 5月, 2009 1 次提交
-
-
- 10 12月, 2008 1 次提交
-
-
由 Joshua Peek 提交于
-
- 07 12月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 04 12月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 26 11月, 2008 1 次提交
-
-
由 Vincent Woo 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 19 11月, 2008 1 次提交
-
-
由 Hongli Lai (Phusion) 提交于
This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 14 11月, 2008 1 次提交
-
-
由 Hongli Lai (Phusion) 提交于
Tag helper should output an attribute with the value 'false' instead of omitting the attribute, if the associated option is false but not nil.
-
- 16 7月, 2008 3 次提交
-
-
由 Pratik Naik 提交于
-
由 Jeremy Kemper 提交于
-
由 松田 明 提交于
-
- 26 6月, 2008 1 次提交
-
-
由 Adam Meehan 提交于
-
- 22 6月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Performance: javascript helper tweaks to speed up escaping and reduce object allocations when building options strings
-
- 20 6月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Check whether blocks are called from erb using a special __in_erb_template variable visible in block binding.
-
- 09 6月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Use output_buffer reader and writer methods exclusively instead of hitting the instance variable so others can override the methods.
-
- 06 6月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 03 6月, 2008 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 24 9月, 2007 2 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 18 9月, 2007 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 24 6月, 2007 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Massive documentation update for all helpers (closes #8223, #8177, #8175, #8108, #7977, #7972, #7971, #7969) [jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 03 5月, 2007 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Fixed that content_tag with a block will just return the result instead of concate it if not used in a ERb view #7857, #7432 [michael.niessner] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 06 1月, 2007 1 次提交
-
-
由 Rick Olson 提交于
Clean up multiple calls to #stringify_keys in TagHelper, add better documentation and testing for TagHelper. Closes #6394 [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-