Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5820/src/modules/viewflt
Modified Files:
QuoteURL.cpp
Log Message:
added special workaround for bullet lists using asterisk
Index: QuoteURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/QuoteURL.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -b -u -2 -r1.18 -r1.19
--- QuoteURL.cpp 8 Sep 2004 20:44:34 -0000 1.18
+++ QuoteURL.cpp 8 Sep 2004 23:01:43 -0000 1.19
@@ -316,8 +316,18 @@
}
+ // is the next line starts in the same way as this one?
if ( sameAsNext != Line_Different )
{
- // so far it does
- if ( *next != *c && !IsBlankLine(next) )
+ if ( IsBlankLine(next) )
+ {
+ // special case of bullet lists using "*"
+ if ( *c == '*' && (sameAsPrev == Line_Blank ||
+ (sameAsPrev == Line_Unknown && IsBlankLine(prev))) )
+ {
+ // looks like just such a list
+ break;
+ }
+ }
+ else if ( *next != *c ) // so far it does...
{
// but then it diverges, so this is unlikely to be a quote marker
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates