tetsuo13 / MediaWiki-to-DokuWiki-Importer

Convert MediaWiki to DokuWiki
31 stars 10 forks source link

Mediawiki allowed HTML Elements #22

Closed darkyat closed 11 years ago

darkyat commented 11 years ago

Unfortunately the Mediawiki-Converter is lack of support for the common and allowed HTML-Tags as e.g span or div.

It would be awesome if these could be implemented in the future.

Source: http://www.mediawiki.org/wiki/Help:Formatting

tetsuo13 commented 11 years ago

From the HTML Tags section,

Some HTML tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>. These apply anywhere you insert them.

tetsuo13 commented 11 years ago

Can you give some examples from MediaWiki? The following in MediaWiki

This is a <div>div tag</div>

is converted to the same in DokuWiki, leaving the HTML tag intact. I can't seem to replicate any issues.

It's possible that the HTML tags are left intact during the import process but DokuWiki isn't parsing them. By default, DokuWiki is configured to not parse HTML tags. See the htmlok setting.