Skip to content

Commit

Permalink
richtext does not work correct, start and end html tags were missing.…
Browse files Browse the repository at this point in the history
… quickfix now, but this breaks images
  • Loading branch information
konradrenner committed Jul 6, 2015
1 parent 350c853 commit 2e70458
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,10 @@ void saveNote(){

String notebookName = getNotebookSpinnerSelectionName();

String descriptionValue = HTMLSTART + repairImages(getDescriptionFromView()) + HTMLEND;
String descriptionValue = repairImages(getDescriptionFromView());
if(!descriptionValue.startsWith("<!DOCTYPE HTML")){
descriptionValue = HTMLSTART + repairImages(getDescriptionFromView()) + HTMLEND;
}


if (note == null) {
Expand Down

0 comments on commit 2e70458

Please sign in to comment.