From b2b6af24d69193e0a1e18e32267c8d5b1873cab6 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 18:34:06 +0200 Subject: [PATCH 01/17] fix clode block generation added fenced code blocks to default extension list --- isso/core.py | 2 +- isso/tests/test_html.py | 32 ++++++++++++++++++++++++++++++++ isso/utils/html.py | 24 ++++++++++++++++++++---- 3 files changed, 53 insertions(+), 5 deletions(-) diff --git a/isso/core.py b/isso/core.py index 4e30f49..3cdadf5 100644 --- a/isso/core.py +++ b/isso/core.py @@ -113,7 +113,7 @@ class Config: "direct-reply = 3", "reply-to-self = false", "[markup]", - "options = strikethrough, autolink", + "options = strikethrough, autolink, fenced_code", "allowed-elements = ", "allowed-attributes = " ] diff --git a/isso/tests/test_html.py b/isso/tests/test_html.py index f03d4c2..65d6056 100644 --- a/isso/tests/test_html.py +++ b/isso/tests/test_html.py @@ -4,6 +4,7 @@ try: except ImportError: import unittest +import textwrap from isso.core import Config from isso.utils import html @@ -30,6 +31,37 @@ class TestHTML(unittest.TestCase): for (input, expected) in examples: self.assertEqual(convert(input), expected) + def test_github_flavoured_markdown(self): + convert = html.Markdown(extensions=("fenced_code", )) + + # without lang + _in = textwrap.dedent("""\ + Hello, World + + ``` + #!/usr/bin/env python + print("Hello, World")""") + _out = textwrap.dedent("""\ +

Hello, World

+
#!/usr/bin/env python
+            print("Hello, World")
+            
""") + + self.assertEqual(convert(_in), _out) + + # w/ lang + _in = textwrap.dedent("""\ + Hello, World + + ```python + #!/usr/bin/env python + print("Hello, World")""") + _out = textwrap.dedent("""\ +

Hello, World

+
#!/usr/bin/env python
+            print("Hello, World")
+            
""") + @unittest.skipIf(html.html5lib_version == "0.95", "backport") def test_sanitizer(self): sanitizer = html.Sanitizer(elements=[], attributes=[]) diff --git a/isso/utils/html.py b/isso/utils/html.py index 212875d..4c8013a 100644 --- a/isso/utils/html.py +++ b/isso/utils/html.py @@ -1,5 +1,7 @@ # -*- encoding: utf-8 -*- +from __future__ import unicode_literals + import pkg_resources import operator @@ -54,16 +56,30 @@ def Markdown(extensions=("strikethrough", "superscript", "autolink")): flags = reduce(operator.xor, map( lambda ext: getattr(misaka, 'EXT_' + ext.upper()), extensions), 0) + md = misaka.Markdown(Unofficial(), extensions=flags) def inner(text): - rv = misaka.html(text, extensions=flags).rstrip("\n") - if not rv.endswith("

") and not rv.endswith("

"): - return "

" + rv + "

" - return rv + rv = md.render(text).rstrip("\n") + if rv.startswith("

") or rv.endswith("

"): + return rv + return "

" + rv + "

" return inner +class Unofficial(misaka.HtmlRenderer): + """A few modifications to process "common" Markdown. + + For instance, fenced code blocks (~~~ or ```) are just wrapped in + which does not preserve line breaks. If a language is given, it is added + to , compatible with Highlight.js. + """ + + def block_code(self, text, lang): + lang = ' class="{0}"'.format(lang) if lang else '' + return "
{0}
\n".format(text, lang) + + class Markup(object): def __init__(self, conf): From 3975227adabd96cc14ac6a07ef08ff26032c4e75 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 18:39:59 +0200 Subject: [PATCH 02/17] Revert "border-radius only for first and last input" If input fields are not close enough to each other, it looks weird. Also it didn't work in mobile view. This reverts commit 77d40a99eb7bf7a28d28cfc34b13631d8d1c914a. --- isso/css/isso.css | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/isso/css/isso.css b/isso/css/isso.css index 380fd90..eef6b81 100644 --- a/isso/css/isso.css +++ b/isso/css/isso.css @@ -178,19 +178,12 @@ .isso-postbox > .form-wrapper > .auth-section .input-wrapper input { padding: .3em 10px; max-width: 100%; + border-radius: 3px; background-color: #fff; line-height: 1.4em; border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } -.isso-postbox > .form-wrapper > .auth-section .input-wrapper:first-child input { - border-radius: 3px 0 0 3px; - border-right: 0; -} -.isso-postbox > .form-wrapper > .auth-section .input-wrapper:nth-last-child(2) input { - border-radius: 0 3px 3px 0; - border-left: 0; -} .isso-postbox > .form-wrapper > .auth-section .post-action { display: inline-block; float: right; @@ -220,7 +213,6 @@ } .isso-postbox > .form-wrapper > .auth-section .input-wrapper input { width: 100%; - border-radius: 3px; } .isso-postbox > .form-wrapper > .auth-section .post-action { display: block; From 9fa7edb74b82e7a3e101e17fecbfad508449550a Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 18:52:20 +0200 Subject: [PATCH 03/17] add version fallback, closes #102 --- docs/conf.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0437457..7e8c833 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,14 +12,27 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import pkg_resources -dist = pkg_resources.get_distribution("isso") - import sys +import io +import re +import pkg_resources from os.path import join, dirname sys.path.insert(0, join(dirname(__file__), "_isso/")) +try: + dist = pkg_resources.get_distribution("isso") +except pkg_resources.DistributionNotFound: + dist = type("I'm a Version", (object, ), {}) + with io.open(join(dirname(__file__), "../setup.py")) as fp: + for line in fp: + m = re.match("\s*version='([^']+)'\s*", line) + if m: + dist.version = m.group(1) + break + else: + dist.version = "" + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. From 9674afbeed4548119f387e359b5e69ccd79e1697 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 19:01:02 +0200 Subject: [PATCH 04/17] remove isso.css from pypi distribution --- MANIFEST.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 67486f7..191288d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,5 +7,3 @@ include isso/js/embed.min.js include isso/js/embed.dev.js include isso/js/count.min.js include isso/js/count.dev.js - -include isso/css/isso.css From 0c8ec38ddab31f16f4c51a66860b234fb951b218 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 19:13:30 +0200 Subject: [PATCH 05/17] don't scrollIntoView on expanding comments A regression introduced in 94ee6a69 --- isso/js/app/isso.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/isso/js/app/isso.js b/isso/js/app/isso.js index b00e1cc..4312d45 100644 --- a/isso/js/app/isso.js +++ b/isso/js/app/isso.js @@ -89,10 +89,6 @@ define(["app/dom", "app/utils", "app/config", "app/api", "app/jade", "app/i18n", if(rv.hidden_replies > 0) { insert_loader(rv, lastcreated); } - - if (window.location.hash.length > 0) { - $(window.location.hash).scrollIntoView(); - } }, function(err) { console.log(err); From ad9384e8d72689f1361102d905595b1b71c9eca0 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 19:29:42 +0200 Subject: [PATCH 06/17] preserve HTML tags while editing comments --- isso/js/app/utils.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/isso/js/app/utils.js b/isso/js/app/utils.js index d49e60b..f5f4992 100644 --- a/isso/js/app/utils.js +++ b/isso/js/app/utils.js @@ -38,6 +38,21 @@ define(["app/i18n"], function(i18n) { i18n.pluralize("date-year", Math.ceil(days / 365.25)); }; + var HTMLEntity = { + "&": "&", + "<": "<", + ">": ">", + '"': '"', + "'": ''', + "/": '/' + }; + + var escape = function(html) { + return String(html).replace(/[&<>"'\/]/g, function (s) { + return HTMLEntity[s]; + }); + }; + var text = function(html) { var _ = document.createElement("div"); _.innerHTML = html.replace(/

<\/div>/gi, '
') @@ -47,8 +62,8 @@ define(["app/i18n"], function(i18n) { }; var detext = function(text) { - return text.replace(/\n\n/gi, '

') - .replace(/\n/gi, '
'); + return escape(text.replace(/\n\n/gi, '

') + .replace(/\n/gi, '
')); }; return { From ee8a84c0b2717419b03e5d103e25cf028b390016 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 6 Jul 2014 19:39:19 +0200 Subject: [PATCH 07/17] add CSS for blockquote and pre --- docs/_static/css/site.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/_static/css/site.scss b/docs/_static/css/site.scss index 9c64a10..28e25ca 100644 --- a/docs/_static/css/site.scss +++ b/docs/_static/css/site.scss @@ -209,6 +209,21 @@ main { h4 { margin-bottom: 0.5em; } + + blockquote { + margin-top: 10px; + margin-bottom: 10px; + padding-left: 15px; + border-left: 3px solid #ccc; + } + + pre { + background: #eee; + border: 1px solid #ddd; + padding: 10px 15px; + color: #4d4d4c; + overflow: auto; + } } .sidebar { From 35acf1e17e6136b6604a6b207aeb0b41cbcf8aea Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 09:19:48 +0200 Subject: [PATCH 08/17] from __future__ import unicode_literals --- isso/__init__.py | 2 +- isso/core.py | 2 +- isso/dispatch.py | 2 ++ isso/run.py | 2 ++ isso/utils/__init__.py | 2 +- isso/utils/parse.py | 2 +- isso/views/comments.py | 2 ++ isso/wsgi.py | 2 ++ setup.py | 3 ++- 9 files changed, 14 insertions(+), 5 deletions(-) diff --git a/isso/__init__.py b/isso/__init__.py index afac2b4..f2745c6 100644 --- a/isso/__init__.py +++ b/isso/__init__.py @@ -25,7 +25,7 @@ # # Isso – a lightweight Disqus alternative -from __future__ import print_function +from __future__ import print_function, unicode_literals import pkg_resources dist = pkg_resources.get_distribution("isso") diff --git a/isso/core.py b/isso/core.py index 3cdadf5..af85054 100644 --- a/isso/core.py +++ b/isso/core.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- -from __future__ import print_function +from __future__ import print_function, unicode_literals import io import time diff --git a/isso/dispatch.py b/isso/dispatch.py index 14441e2..f376733 100644 --- a/isso/dispatch.py +++ b/isso/dispatch.py @@ -1,5 +1,7 @@ # -*- encoding: utf-8 -*- +from __future__ import unicode_literals + import os import logging diff --git a/isso/run.py b/isso/run.py index 94bdc04..68f2950 100644 --- a/isso/run.py +++ b/isso/run.py @@ -1,5 +1,7 @@ # -*- encoding: utf-8 -*- +from __future__ import unicode_literals + import os from isso import make_app diff --git a/isso/utils/__init__.py b/isso/utils/__init__.py index 9a50a79..1dfb517 100644 --- a/isso/utils/__init__.py +++ b/isso/utils/__init__.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- -from __future__ import division +from __future__ import division, unicode_literals import pkg_resources werkzeug = pkg_resources.get_distribution("werkzeug") diff --git a/isso/utils/parse.py b/isso/utils/parse.py index 6fdc837..6923307 100644 --- a/isso/utils/parse.py +++ b/isso/utils/parse.py @@ -1,5 +1,5 @@ -from __future__ import print_function +from __future__ import print_function, unicode_literals import datetime from itertools import chain diff --git a/isso/views/comments.py b/isso/views/comments.py index edd3c5e..04910b7 100644 --- a/isso/views/comments.py +++ b/isso/views/comments.py @@ -1,5 +1,7 @@ # -*- encoding: utf-8 -*- +from __future__ import unicode_literals + import re import cgi import time diff --git a/isso/wsgi.py b/isso/wsgi.py index 35e06e0..37605c3 100644 --- a/isso/wsgi.py +++ b/isso/wsgi.py @@ -1,5 +1,7 @@ # -*- encoding: utf-8 -*- +from __future__ import unicode_literals + import socket try: diff --git a/setup.py b/setup.py index f0d8958..f5baca1 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,9 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- -import sys +from __future__ import unicode_literals +import sys from setuptools import setup, find_packages requires = ['itsdangerous', 'misaka', 'html5lib'] From 261d0e4985d1f256b2f03d92b38859a025dc1355 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 09:40:21 +0200 Subject: [PATCH 09/17] update changelog --- CHANGES.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 24f7bfc..4bfa8b4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,25 @@ Changelog for Isso ================== +0.9.3 (unreleased) +------------------ + +- remove scrollIntoView while expanding further comments if a fragment is used + (e.g. #isso-thread brought you back to the top, unexpectedly) + +- implement a custom Markdown renderer to support multi-line code listings. The + extension "fenced_code" is now enabled by default and generates HTML + compatible with Highlight.js__. + +- escape HTML entities when editing a comment with raw HTML + +- fix CSS for input + +- remove isso.css from binary distribution to avoid confusion (it's still there + from the very first release, but modifications do not work) + +.. __: http://highlightjs.org/ + 0.9.2 (2014-06-25) ------------------ From d2769d73b47c1aacdd0064f7d58daec7366e7fdb Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 09:40:35 +0200 Subject: [PATCH 10/17] Preparing release 0.9.3 --- CHANGES.rst | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 4bfa8b4..e60bd31 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ Changelog for Isso ================== -0.9.3 (unreleased) +0.9.3 (2014-07-09) ------------------ - remove scrollIntoView while expanding further comments if a fragment is used diff --git a/setup.py b/setup.py index f5baca1..f5106d8 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ else: setup( name='isso', - version='0.9.3.dev0', + version='0.9.3', author='Martin Zimmermann', author_email='info@posativ.org', packages=find_packages(), From b59f650c995571ccd6581d46fc2c1f44a3c51b51 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 09:40:48 +0200 Subject: [PATCH 11/17] Back to development: 0.9.4 --- CHANGES.rst | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index e60bd31..c353bbb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,12 @@ Changelog for Isso ================== +0.9.4 (unreleased) +------------------ + +- Nothing changed yet. + + 0.9.3 (2014-07-09) ------------------ diff --git a/setup.py b/setup.py index f5106d8..b67ecf2 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ else: setup( name='isso', - version='0.9.3', + version='0.9.4.dev0', author='Martin Zimmermann', author_email='info@posativ.org', packages=find_packages(), From 978d22e77ee462212cc5d5d24263ee6598ea08d5 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 23:18:46 +0200 Subject: [PATCH 12/17] fix wrong status code type --- CHANGES.rst | 2 +- isso/wsgi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index c353bbb..e91dfd6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,7 @@ Changelog for Isso 0.9.4 (unreleased) ------------------ -- Nothing changed yet. +- fixed a regression when using Isso and Gevent 0.9.3 (2014-07-09) diff --git a/isso/wsgi.py b/isso/wsgi.py index 37605c3..a2753f9 100644 --- a/isso/wsgi.py +++ b/isso/wsgi.py @@ -142,7 +142,7 @@ class CORSMiddleware(object): return start_response(status, headers.to_list(), exc_info) if environ.get("REQUEST_METHOD") == "OPTIONS": - add_cors_headers("200 Ok", [("Content-Type", "text/plain")]) + add_cors_headers(b"200 Ok", [("Content-Type", "text/plain")]) return [b'200 Ok'] return self.app(environ, add_cors_headers) From 203f9c7c1a0d0226b5f5e1aacef34581d43da37a Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 23:23:30 +0200 Subject: [PATCH 13/17] Preparing release 0.9.4 --- CHANGES.rst | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index e91dfd6..6a9aa44 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ Changelog for Isso ================== -0.9.4 (unreleased) +0.9.4 (2014-07-09) ------------------ - fixed a regression when using Isso and Gevent diff --git a/setup.py b/setup.py index b67ecf2..084dfa2 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ else: setup( name='isso', - version='0.9.4.dev0', + version='0.9.4', author='Martin Zimmermann', author_email='info@posativ.org', packages=find_packages(), From 7f82745cd00e27dedb8516bc0d6be35957992f10 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 9 Jul 2014 23:23:42 +0200 Subject: [PATCH 14/17] Back to development: 0.9.5 --- CHANGES.rst | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 6a9aa44..2d9943f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,12 @@ Changelog for Isso ================== +0.9.5 (unreleased) +------------------ + +- Nothing changed yet. + + 0.9.4 (2014-07-09) ------------------ diff --git a/setup.py b/setup.py index 084dfa2..d7ce269 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ else: setup( name='isso', - version='0.9.4', + version='0.9.5.dev0', author='Martin Zimmermann', author_email='info@posativ.org', packages=find_packages(), From a89f2284779928902a993c1acb1e73c702b4cd93 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 13 Jul 2014 11:17:43 +0200 Subject: [PATCH 15/17] fix virtualenv path, add yum/apt-get hints and AUR package --- docs/docs/install.rst | 46 ++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 12 deletions(-) diff --git a/docs/docs/install.rst b/docs/docs/install.rst index 6567905..21657fb 100644 --- a/docs/docs/install.rst +++ b/docs/docs/install.rst @@ -47,8 +47,8 @@ but not recommended): .. code-block:: sh - ~> virtualenv /home/user/python/isso - ~> source /home/user/python/isso/activate + ~> virtualenv /path/to/isso + ~> source /path/to/isso/bin/activate After calling `source`, you can now install packages from PyPi locally into this virtual environment. If you don't like Isso anymore, you just `rm -rf` the @@ -69,11 +69,29 @@ machines or a shared host (e.g. Uberspace.de). Install from PyPi ----------------- -Requirements: +Requirements +^^^^^^^^^^^^ -- Python 2.6, 2.7 or 3.3+ (+ devel headers) -- SQLite 3.3.8 or later -- a working C compiler +- Python 2.6, 2.7 or 3.3+ (+ devel headers) +- SQLite 3.3.8 or later +- a working C compiler + +For Debian/Ubuntu just `copy and paste +`_ to your terminal: + +.. code-block:: sh + + ~> sudo apt-get install python-dev sqlite3 build-essential + +Similar for Fedora (and derivates): + +.. code-block:: sh + + ~> sudo yum install python-devel sqlite + ~> sudo yum groupinstall “Development Tools” + +Installation +^^^^^^^^^^^^ Install Isso with `pip `_: @@ -88,16 +106,20 @@ Install Isso with `pip `_: ~> easy_install isso # cross your fingers For easier execution, you can symlink the executable to a location in your -PATH: +:envvar:`PATH`. .. code-block:: sh ~> ln -s /path/to/isso-venv/bin/isso /usr/local/bin/isso +Upgrade +^^^^^^^ + To upgrade Isso, activate your virtual environment again, and run .. code-block:: sh + ~> source /path/to/isso/bin/activate # optional ~> pip install --upgrade isso .. _prebuilt-package: @@ -108,15 +130,15 @@ Prebuilt Packages * Debian: https://packages.crapouillou.net/ – built from PyPi. Includes startup scripts and vhost configurations for Lighttpd, Apache and Nginx [`source `__]. - - `#729218 `_ is a - ITP for Debian. To be officially packages by Debian, `#51 - `_ needs to be done (contributions - are welcome). + `#729218 `_ is an + ITP for Debian. * Gentoo: http://eroen.eu/cgit/cgit.cgi/eroen-overlay/tree/www-apps/isso?h=isso – not yet available in Portage, but you can use the ebuild to build Isso. +* Arch Linux: https://aur.archlinux.org/packages/isso/ + – install with `yaourt isso`. + Install from Source ------------------- From 392add88e68c990cae630a217f74f765ff91ac1b Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Mon, 14 Jul 2014 19:34:40 +0200 Subject: [PATCH 16/17] disable intra emphasis --- share/isso.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/isso.conf b/share/isso.conf index 3f10f88..9bb26c7 100644 --- a/share/isso.conf +++ b/share/isso.conf @@ -134,7 +134,7 @@ reply-to-self = false # Misaka-specific Markdown extensions, all flags starting with EXT_ can be used # there, separated by comma. -options = strikethrough, superscript, autolink, fenced_code +options = strikethrough, superscript, autolink, fenced_code, no_intra_emphasis # Additional HTML tags to allow in the generated output, comma-separated. By # default, only a, blockquote, br, code, del, em, h1, h2, h3, h4, h5, h6, hr, From e02687a066bd4c78a1c0edc3cf2b027df7510eb6 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Mon, 14 Jul 2014 19:38:00 +0200 Subject: [PATCH 17/17] remove superscript extension from defaults (again) --- share/isso.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/isso.conf b/share/isso.conf index 9bb26c7..343cad9 100644 --- a/share/isso.conf +++ b/share/isso.conf @@ -134,7 +134,7 @@ reply-to-self = false # Misaka-specific Markdown extensions, all flags starting with EXT_ can be used # there, separated by comma. -options = strikethrough, superscript, autolink, fenced_code, no_intra_emphasis +options = strikethrough, autolink, fenced_code, no_intra_emphasis # Additional HTML tags to allow in the generated output, comma-separated. By # default, only a, blockquote, br, code, del, em, h1, h2, h3, h4, h5, h6, hr,