Various work on w2l 1.2
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@18 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
c410adda52
commit
8a41806d02
11 changed files with 516 additions and 410 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2009-04-23)
|
||||
* Version 1.2 (2009-04-25)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -137,16 +137,16 @@ public abstract class ExportFilterBase implements
|
|||
int nLen = origString.length();
|
||||
for (int i=0; i<nLen; i++) {
|
||||
char c = origString.charAt(i);
|
||||
if (c=='&'){
|
||||
buf.append("&");
|
||||
}
|
||||
if (c=='\"'){
|
||||
if (c=='&'){
|
||||
buf.append("&");
|
||||
}
|
||||
else if (c=='\"'){
|
||||
buf.append(""");
|
||||
}
|
||||
if (c=='<'){
|
||||
else if (c=='<'){
|
||||
buf.append("<");
|
||||
}
|
||||
if (c=='>'){
|
||||
else if (c=='>'){
|
||||
buf.append(">");
|
||||
}
|
||||
else if (c=='\u0009' || c=='\n' || c=='\r' || (c>='\u0020' && c<='\uD7FF') || (c>='\uE000' && c<'\uFFFD')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue