From a059c22378b05a0818e22f588277bf7c18445fd5 Mon Sep 17 00:00:00 2001
From: patrick333
Date: Tue, 7 Apr 2015 16:42:30 -0400
Subject: [PATCH 1/2] make some html tags valid
---
index.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html
index d45b7f5..fadf0b5 100644
--- a/index.html
+++ b/index.html
@@ -77,12 +77,15 @@ Enjoy live editing (+markdown)
To link or unlink, please press the ENTER key after you filled the input field with your a link. A link can be unlink by applying an empty value to the input field.
+
- Ordered list and unordered list are supported.
- Use the toolbar or use markdown syntax like「1. 」,「- 」or「* 」
+
+
You can quote text by type「>」at line start.
What about add underline to text? "Stay Hungry, Stay Foolish - Steve Jobs".
A code block is also supported by type 「```」 at line start and press SPACE.
@@ -91,7 +94,7 @@ Enjoy live editing (+markdown)
+ src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
From 7c2fd3a5348e882f3bc892feec6f6a9a57799c26 Mon Sep 17 00:00:00 2001
From: patrick333
Date: Tue, 7 Apr 2015 16:50:09 -0400
Subject: [PATCH 2/2] unneccessary code
---
src/pen.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pen.js b/src/pen.js
index 5e8022e..806d86b 100644
--- a/src/pen.js
+++ b/src/pen.js
@@ -150,7 +150,7 @@
var klass = 'pen-icon icon-' + name;
icons += '';
}, true);
- if (toolList.indexOf('createlink') >= 0 || toolList.indexOf('createlink') >= 0)
+ if (toolList.indexOf('createlink') >= 0)
icons += inputStr;
} else if (ctx._toolbar.querySelectorAll('[data-action=createlink]').length ||
ctx._toolbar.querySelectorAll('[data-action=insertimage]').length) {