[ http://jira.codehaus.org/browse/MNG-545?page=comments#action_43169 ]
Antoine commented on MNG-545: ----------------------------- To help diagnostic : finding if it's a bug or just a wrong configuration of parser or so : The span tag keeps it's class attribute. <span class="MySpecialStyle> is keept as is in the xhtml. Also <img> tag keeps these attribute : width="540" height="405" border="0" align="top" alt="Hearing Test Base - Software Parameters" title="Hearing Test Base - Software Parameters" Every thing is in the html page at the end.... so why the <a> tag doesn't keep the target, the alt, the title attributes ? why the p tag doesn't keep it's class attribute ? what happen to them in the parser ? special treatment ? > M2 / xdoc / attribute of xhtml tags are filtered => so can't use all xhtml > features. > ------------------------------------------------------------------------------------ > > Key: MNG-545 > URL: http://jira.codehaus.org/browse/MNG-545 > Project: Maven 2 > Type: Bug > Components: maven-reports > Environment: w2k > Reporter: Antoine > Fix For: 2.0-beta-2 > > > in xdocs > in a <p> tag : the class and the id attributes are filtered. So can't use > special css styles. > in a <a> tag : target and title attributes are filtered (but not the href > ....). so can't use full features of <a> (I did not try the img attribute, > etc....) > => xhtml in xdocs should be rendered as much as it is written in the xdoc > file. > (other problem related : <br/> tag is transformed in "<br><br/>", so put a > double line in most browser... (a jira issue is yet open for M1). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
