[
https://jira.codehaus.org/browse/DOXIA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282564#comment-282564
]
Herve Boutemy commented on DOXIA-405:
-------------------------------------
tried to implement it.
The feature is easy to do:
{noformat}
Index: src/main/java/org/apache/maven/doxia/sink/AbstractXmlSink.java
===================================================================
--- src/main/java/org/apache/maven/doxia/sink/AbstractXmlSink.java
(revision 1196075)
+++ src/main/java/org/apache/maven/doxia/sink/AbstractXmlSink.java
(working copy)
@@ -107,6 +107,12 @@
}
StringBuilder sb = new StringBuilder();
+
+ if ( t.isBlock() )
+ {
+ sb.append( EOL );
+ }
+
sb.append( LESS_THAN );
if ( nameSpace != null )
{noformat}
> The generated xhtml document has the entire content on a single line
> --------------------------------------------------------------------
>
> Key: DOXIA-405
> URL: https://jira.codehaus.org/browse/DOXIA-405
> Project: Maven Doxia
> Issue Type: Improvement
> Components: Module - Xhtml
> Affects Versions: 1.1.3
> Environment: Maven Site Plugin 2.1.1
> Windows XP Pro
> Reporter: Dennis Lundberg
>
> If you view the source for http://maven.apache.org/plugins/index.html, you
> will see that the entire content is on line 207 and is 35396 columns wide.
> Trying to debug such a page is near impossible.
> For very large documents is isn't even possible for some browsers to show the
> source with that many columns.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira