Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.2
-
Component/s: Documentation
-
Labels:None
-
Patch Submitted:Yes
Description
Problem:
Blank lines within code blocks (of the "reference" section only) cause the following code to be over-indented.
e.g. http://grails.org/doc/1.0.x/ref/Domain%20Classes/findAll.html
Cause:
The ParagraphFilter wraps lines following a blank line with a <p> tag. For the reference section, "ref.css" indents <p> tags which is not done in the guide section.
Solution:
I don't see a way to stop the Paragraph filter from triggering inside the CodeMacro, but we can use a stronger css rule to remove the formatting.
Patch attached.
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits