diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index 51a4507..972c3d3 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -113,7 +113,8 @@ def manage_wip(file_post, Force): # New line: | # # Anchors: >> # # Paragraphs: ( =

# -# bCodes: (( = # +# bCodes: [[ = # +# Convert to HTML >> base64 # #----------------------------# def wip_begin_markers(wip_lines): global wip_html @@ -121,7 +122,7 @@ def wip_begin_markers(wip_lines): wip_tmp = '' # Set marker (regex to find), HTML, Need CSS marks_html = [ - ['^\|$|^\|\s' , '
' , True ], + ['^\|$|^\|\s' , '
' , True ], ['^>>\s' , '' , True ], [r'^\($|\(\s' , '

' , True ], ['^\)$|^\)\s' , '

' , False], @@ -140,7 +141,8 @@ def wip_begin_markers(wip_lines): line = line.replace(line, marker[1]%css_set) else: line = line.replace(line, marker[1]) - + convert_to_b64(line) + line = b64_content wip_tmp = '%s%s\n'%(wip_tmp, line) wip_html = wip_tmp