Skip to content

Commit

Permalink
Fixed uri to avoid accent file name problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandarancio committed Jan 26, 2018
1 parent 2319c2e commit f17eefa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/marker-preview.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,11 @@ marker_preview_render_markdown(MarkerPreview* preview,
css_theme);


const char* uri = (base_uri) ? base_uri : "file://unnamed.md";
/** TODO I fixed the URI to avoid UTF8 conversion
* However a conversion should be better (base_uri) ? base_uri : "file://unnamed.md";
* **/
const char* uri = "file://internal.md";

WebKitWebView* web_view = WEBKIT_WEB_VIEW(preview);

g_signal_connect(web_view,
Expand Down

0 comments on commit f17eefa

Please sign in to comment.