From ef54d87f6d2a44cd36664d5465204dff5ce81b06 Mon Sep 17 00:00:00 2001 From: Tomaz Kragelj Date: Thu, 1 Sep 2011 21:11:36 +0200 Subject: [PATCH] Fixed single and other odd placement of asterisk signs. Closes #96. **Note:** This should resolve the issue, although the whole processing of single asterisk as bold marker makes the code quite fragile. The best solution would be to revert to standard Markdown and stop handling single asterisk as bold. This might break existing users comments somewhat, but should provide more stable platform for the future... --- Application/GBCommentComponentsProvider.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/GBCommentComponentsProvider.m b/Application/GBCommentComponentsProvider.m index 5978714a..03079a68 100644 --- a/Application/GBCommentComponentsProvider.m +++ b/Application/GBCommentComponentsProvider.m @@ -170,11 +170,11 @@ - (NSString *)codeSpanEndMarker { } - (NSString *)appledocBoldStartMarker { - return @"~!#"; + return @"~!$"; } - (NSString *)appledocBoldEndMarker { - return @"#!~"; + return @"$!~"; } #pragma Properties