Changeset 747130481b97dbf8a57cd343e69f1cc180cfdc58


Ignore:
Timestamp:
26.07.2013 01:38:45 (8 years ago)
Author:
Stanislaw Klekot <dozzie@…>
Branches:
b66903eafbcb1d49112014abc82c8bf683413db0
Children:
0528d7a6149dc3fdd32ddb34744a51adb1ef6e8b
Parents:
be33118f34e49391c6b920a907e50b739a34e949
git-author:
Stanislaw Klekot <dozzie@…> (26.07.2013 01:38:45)
git-committer:
Stanislaw Klekot <dozzie@…> (26.07.2013 01:38:45)
Message:

Fixed cleaning up AST for single-paragraph documents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dashwiki/markup/_tree_utils.py

    rfb3b23 r747130  
    6767  # skip delimiters and comments 
    6868  if name == 'document': 
     69    # case of sole paragraph in whole document 
     70    if type(value) == dict: 
     71      value = [value] 
    6972    return { 
    7073      'document': [ 
Note: See TracChangeset for help on using the changeset viewer.