Skip to content

Commit ca9fa85

Browse files
authored
Merge pull request rails#44793 from jbampton/fix-word-case-of-xhtml
Fix word casing of `XHTML` and `XML Builder`
2 parents 707f252 + c38d585 commit ca9fa85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

actionview/lib/action_view/helpers/atom_feed_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ module AtomFeedHelper
8282
# end
8383
#
8484
# The Atom spec defines five elements (content rights title subtitle
85-
# summary) which may directly contain xhtml content if type: 'xhtml'
85+
# summary) which may directly contain XHTML content if type: 'xhtml'
8686
# is specified as an attribute. If so, this helper will take care of
87-
# the enclosing div and xhtml namespace declaration. Example usage:
87+
# the enclosing div and XHTML namespace declaration. Example usage:
8888
#
8989
# entry.summary type: 'xhtml' do |xhtml|
9090
# xhtml.p pluralize(order.line_items.count, "line item")
@@ -134,7 +134,7 @@ def initialize(xml)
134134
end
135135

136136
private
137-
# Delegate to xml builder, first wrapping the element in an xhtml
137+
# Delegate to XML Builder, first wrapping the element in an XHTML
138138
# namespaced div element if the method and arguments indicate
139139
# that an xhtml_block? is desired.
140140
def method_missing(method, *arguments, &block)

0 commit comments

Comments
 (0)