madebymany / sir-trevor-rails

Rails gem for Sir Trevor integration.
MIT License
149 stars 50 forks source link

Add support for SirTrevor v0.5.0 #37

Open lukaszsagol opened 9 years ago

lukaszsagol commented 9 years ago

SirTrevorRails needs added support for new html data format, when still supporting displaying data saved in markdown.

All HTML saved content is saved with isHtml flag set to true on the block, so this can be used to distinguish data formats and SirTrevorRails behaviour. Of course HTML taken from database should be sanitized before rendering.