You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "brushed (JIRA)" <ji...@apache.org> on 2019/06/13 19:46:00 UTC

[jira] [Commented] (JSPWIKI-1113) XHtmlElementToWikiTranslator does not retain table attributes like colspan/rowspan

    [ https://issues.apache.org/jira/browse/JSPWIKI-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863403#comment-16863403 ] 

brushed commented on JSPWIKI-1113:
----------------------------------

 

The "...toWiki" translator generates JSPWiki compatible markup.

As the standard JSPWiki Table markup does not support table-cells which span multiple columns (or rows) the corresponding html attributes are also not translated. (and silently ignored)

If you'd need JSPWiki to support more advanced table layouts,  please check out [https://jspwiki-wiki.apache.org/Wiki.jsp?page=TablePlugin]

 

 

 

> XHtmlElementToWikiTranslator does not retain table attributes like colspan/rowspan
> ----------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1113
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1113
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.11.0-M4
>            Reporter: Annapoorni D
>            Priority: Major
>
> We are using jspwiki 2.8.3 version in our application, when an input is of html format its sent to jspwiki's XHtmlElementToWikiTranslator to be translated to wiki text format.
>  While doing so, if in html if there is table tag with td containing "colspan" attribute, this is merely ignored and just td is replaced with "|" ie standard td equivalent in jspwiki format.
>  
> I have checked the latest source and verified the class XHtmlElementToWikiTranslator still replaces any td with just "|" attributes for Element are not used anywhere here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)