Merge pull request #4 from ashander/patch-1

Use BaseLoader to avoid type mapping
This commit is contained in:
teoric 2015-05-08 15:14:06 +02:00
commit 8073847dc2

View File

@ -53,9 +53,9 @@ from markdown import Extension
from markdown.preprocessors import Preprocessor from markdown.preprocessors import Preprocessor
import yaml import yaml
try: try:
from yaml import CSafeLoader as Loader from yaml import CBaseLoader as Loader
except ImportError: except ImportError:
from yaml import Loader from yaml import BaseLoader
# Override the default string handling function to always return unicode objects # Override the default string handling function to always return unicode objects