Skip to content

Commit 88542cf

Browse files
committed
fixed del_ins & icon expand editor
1 parent 87da32a commit 88542cf

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

martor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22

3-
__VERSION__ = '1.3.7'
3+
__VERSION__ = '1.3.8'
44
__AUTHOR__ = 'Agus Makmun (Summon Agus)'
55
__AUTHOR_EMAIL__ = 'summon.agus@gmail.com'

martor/extensions/del_ins.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ class DelInsExtension(markdown.extensions.Extension):
4040

4141
def extendMarkdown(self, md, md_globals):
4242
del_tag = SimpleTagPattern(DEL_RE, 'del')
43-
ins_tag = SimpleTagPattern(DEL_RE, 'ins')
44-
md.inlinePatterns.add('del', del_tag, '>not_strong')
45-
md.inlinePatterns.add('ins', ins_tag, '>not_strong')
43+
ins_tag = SimpleTagPattern(INS_RE, 'ins')
44+
md.inlinePatterns.add('del', del_tag, '<not_strong')
45+
md.inlinePatterns.add('ins', ins_tag, '<not_strong')
4646

4747

4848
def makeExtension(*args, **kwargs):

martor/static/martor/css/martor.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/js/martor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Name : Martor v1.3.7
2+
* Name : Martor v1.3.8
33
* Created by : Agus Makmun (Summon Agus)
4-
* Release date : 10-Feb-2019
4+
* Release date : 11-Feb-2019
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
66
* Repository : https://github.com/agusmakmun/django-markdown-editor
77
**/

martor/static/martor/js/martor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/templates/martor/editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313
<div id="martor-{{ field_name }}" class="martor-field martor-field-{{ field_name }}"></div>
1414
{{ martor }}
15-
<i class="resize vertical grey icon expand-editor"></i>
15+
<i class="angle double down grey icon expand-editor"></i>
1616
</div>
1717
<div class="ui bottom attached tab segment martor-preview" data-tab="preview-tab-{{ field_name }}">
1818
<p>{% trans "Nothing to preview" %}</p>

0 commit comments

Comments
 (0)