# HG changeset patch # User neko259 # Date 2015-01-10 07:22:45 # Node ID 1c0513f9379074f9b15033e82c78512237848ce3 # Parent f3218ffe6a611199354228b41520f363b907b435 Fixed post reflinks that were parsed as quotes in the line start diff --git a/boards/models/post.py b/boards/models/post.py --- a/boards/models/post.py +++ b/boards/models/post.py @@ -62,7 +62,7 @@ DIFF_TYPE_JSON = 'json' PREPARSE_PATTERNS = { r'>>(\d+)': r'[post]\1[/post]', # Reflink ">>123" - r'^>(.+)': r'[quote]\1[/quote]', # Quote ">text" + r'^(?)>(.+)': r'[quote]\1[/quote]', # Quote ">text" r'^//(.+)': r'[comment]\1[/comment]', # Comment "//text" }