Skip to content

fixed code block style in exported HTML file#1648

Merged
Rokt33r merged 1 commit intoBoostIO:masterfrom
rayou:fix-1609-wrong-codeblock-style
Mar 9, 2018
Merged

fixed code block style in exported HTML file#1648
Rokt33r merged 1 commit intoBoostIO:masterfrom
rayou:fix-1609-wrong-codeblock-style

Conversation

@rayou
Copy link
Contributor

@rayou rayou commented Mar 8, 2018

Quick and dirty fix for #1609.

Code block in editor
Code block in editor

Code block in exported HTML
Code block in exported HTML

I will make some tweaks to the render function as lots of functionalities are missing in handleSaveAsHtml function, such as syntax highlight, code block theme (dracula), HTML entities #1647.

It would be a good idea to use the same render function in rewriteIframe and handleSaveAsHtml to keep everything consistent and most importantly, DRY.

@Rokt33r Rokt33r merged commit e70b351 into BoostIO:master Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants