bbcode fixes
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
import bbcode
|
import bbcode
|
||||||
|
from django.utils.module_loading import import_string
|
||||||
|
|
||||||
from . import formatters
|
from . import formatters
|
||||||
from ... import settings
|
from ... import settings
|
||||||
PARSER = bbcode.Parser(newline="\n",escape_html=True,replace_links=False)
|
PARSER = bbcode.Parser(newline="\n",escape_html=True,replace_links=False)
|
||||||
@@ -39,7 +41,6 @@ def add_formatters(formatters):
|
|||||||
|
|
||||||
|
|
||||||
def _():
|
def _():
|
||||||
from django.utils.module_loading import import_string
|
|
||||||
|
|
||||||
add_simple_formatters(formatters.SIMPLE_FORMATTERS)
|
add_simple_formatters(formatters.SIMPLE_FORMATTERS)
|
||||||
add_formatters(formatters.FORMATTERS)
|
add_formatters(formatters.FORMATTERS)
|
||||||
|
|||||||
Reference in New Issue
Block a user