Bugzilla – Attachment 144885 Details for
Bug 79845
Mac OS X mdimporter for .odt files with tabulations doesn't import all text
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Keep collecting text until the ending <text:p>
OOoContentDataParser.diff (text/plain), 829 bytes, created by
Dave Huang
on 2018-09-14 22:45:51 UTC
(
hide
)
Description:
Keep collecting text until the ending <text:p>
Filename:
MIME Type:
Creator:
Dave Huang
Created:
2018-09-14 22:45:51 UTC
Size:
829 bytes
patch
obsolete
>--- OOoContentDataParser.m.orig 2018-09-14 17:35:06.000000000 -0500 >+++ OOoContentDataParser.m 2018-09-14 17:34:54.000000000 -0500 >@@ -84,7 +84,6 @@ > - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName > { > (void) parser; // unused >- (void) elementName; // unused > (void) namespaceURI; // unused > (void) qName; // unused > if (shouldReadCharacters == TRUE) { >@@ -99,7 +98,9 @@ > [textContent appendString:[NSString stringWithString:runningTextContent]]; > [runningTextContent release]; > } >- shouldReadCharacters = NO; >+ if ([elementName isEqualToString:@"text:p"] == YES) { >+ shouldReadCharacters = NO; >+ } > } > > - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 79845
:
100760
| 144885