Merge pull request #4 from ashander/patch-1
Use BaseLoader to avoid type mapping
This commit is contained in:
commit
8073847dc2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user