Zim

Export is inconsistent between CLI and GUI

Bug #1603560 reported by Alex Ivkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned

Bug Description

When exporting via the File -> Export dialog into HTML the resulting file has proper HTML constructs for sourcecode plugin text. When calling zim --export the plugin dump routine is ignored.
How to reproduce: create a page with
{{{code: lang="sql" linenumbers="True"
blah blah
}}}

Run export through GUI - you will see
<pre class="brush: sql;">
1&nbsp;blah blah
</pre>
in the result

Run export from the CLI and you get only <pre>blah blah</pre>

Revision history for this message
Alex Ivkin (sogetthis) wrote :

I've fixed the bug myself, the issue was that the CLI did not load the sourceview plugin, since it did not have init in the proper place, unlike the table plugin.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in latest release

Changed in zim:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.