[gnome-builder/gnome-builder-3-36] Fix typos
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-36] Fix typos
- Date: Thu, 2 Jul 2020 18:33:41 +0000 (UTC)
commit e0c9e8b9425003ab25629b29d080b6eddabf195a
Author: GN <gnome nuclearsunshine com>
Date: Wed Jul 1 22:44:30 2020 +0000
Fix typos
src/plugins/html-preview/css/markdown.css | 2 +-
src/plugins/html-preview/html_preview.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/html-preview/css/markdown.css b/src/plugins/html-preview/css/markdown.css
index fba61e2d6..48f30e2b5 100644
--- a/src/plugins/html-preview/css/markdown.css
+++ b/src/plugins/html-preview/css/markdown.css
@@ -956,6 +956,6 @@
padding-left: 128px!important;
}
-.markdown-source {
+#markdown-source {
display: none;
}
diff --git a/src/plugins/html-preview/html_preview.py b/src/plugins/html-preview/html_preview.py
index 6160d38a7..29b46b602 100644
--- a/src/plugins/html-preview/html_preview.py
+++ b/src/plugins/html-preview/html_preview.py
@@ -446,9 +446,8 @@ class HtmlPreviewPage(Ide.Page):
<script>{markdown_view_js}</script>
</head>
<body onload="preview()">
- <div class="markdown-body" id="preview">
+ <div class="markdown-body" id="preview"></div>
<div id="markdown-source">{escaped_markdown}</div>
- </div>
</body>
</html>
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]