Skip to content

Commit

Permalink
Store text data as html
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Nov 21, 2017
1 parent 6fb1654 commit 407840c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gfmdataprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export default class GFMDataProcessor {
*/
toData( viewFragment ) {
const html = this._htmlDP.toData( viewFragment );

return toMarkdown( html, { gfm: true, converters } );
// Instead of using data as markdown save it as HTML! ~@vladikoff
return html;
}
}

0 comments on commit 407840c

Please sign in to comment.