diff --git a/app/src/main/assets/Cheatsheet.md b/app/src/main/assets/Cheatsheet.md index 5e9bf09..f3dcd07 100644 --- a/app/src/main/assets/Cheatsheet.md +++ b/app/src/main/assets/Cheatsheet.md @@ -163,6 +163,6 @@ Numbered lists work similarly, though the actual number you use is irrelevant. # Final Notes -Don't forget that you can, of course, write regular HTML here and it will get parsed as normal. You can view this file here: [link](https://github.com/wbrawner/SimpleMarkdown/) +Don't forget that you can, of course, write regular HTML here and it will get parsed as normal. You can view this file here: [link](https://github.com/wbrawner/SimpleMarkdown/blob/master/app/src/main/assets/Cheatsheet.md) If you need any assistance with the app or you run into a bug, please [open an issue](https://github.com/wbrawner/SimpleMarkdown/). You can also [visit me on my personal website](https://wbrawner.com), or [send me an email](billybrawner@gmail.com). \ No newline at end of file diff --git a/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/MarkdownInfoActivity.java b/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/MarkdownInfoActivity.java index 67a1542..24b09a5 100644 --- a/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/MarkdownInfoActivity.java +++ b/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/MarkdownInfoActivity.java @@ -29,12 +29,10 @@ public class MarkdownInfoActivity extends AppCompatActivity { if (intent == null || !intent.hasExtra("title") || !intent.hasExtra("html")) finish(); setTitle(intent.getStringExtra("title")); - infoWebview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE); - infoWebview.getSettings().setRenderPriority(WebSettings.RenderPriority.HIGH); - infoWebview.setLayerType(View.LAYER_TYPE_SOFTWARE, null); + String style = ""; infoWebview.loadDataWithBaseURL( null, - intent.getStringExtra("html"), + style + intent.getStringExtra("html"), "text/html", "UTF-8", null diff --git a/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/SplashActivity.java b/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/SplashActivity.java index efa841e..5132e73 100644 --- a/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/SplashActivity.java +++ b/app/src/main/java/com/wbrawner/simplemarkdown/view/activity/SplashActivity.java @@ -14,5 +14,6 @@ public class SplashActivity extends AppCompatActivity { protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); startActivity(new Intent(this, MainActivity.class)); + finish(); } }