Permalink
Browse files

Make RDoc not spew errors on install because of HTML comments in code…

… comments

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 91b71ed commit 7ed793076907cbb89b028a24cf01f18f9be7869d @dhh dhh committed Dec 31, 2006
@@ -27,9 +27,9 @@ class << self
# With layouts, you can flip it around and have the common structure know where to insert changing content. This means
# that the header and footer are only mentioned in one place, like this:
#
- # <!-- The header part of this layout -->
+ # // The header part of this layout
# <%= yield %>
- # <!-- The footer part of this layout -->
+ # // The footer part of this layout -->
#
# And then you have content pages that look like this:
#
@@ -38,9 +38,9 @@ class << self
# Not a word about common structures. At rendering time, the content page is computed and then inserted in the layout,
# like this:
#
- # <!-- The header part of this layout -->
+ # // The header part of this layout
# hello world
- # <!-- The footer part of this layout -->
+ # // The footer part of this layout -->
#
# == Accessing shared variables
#
@@ -38,7 +38,6 @@ module Builder
# xm.title("History") # <title>History</title>
# } # </head>
# xm.body { # <body>
- # xm.comment! "HI" # <!-- HI -->
# xm.h1("Header") # <h1>Header</h1>
# xm.p("paragraph") # <p>paragraph</p>
# } # </body>

0 comments on commit 7ed7930

Please sign in to comment.