Project

General

Profile

« Previous | Next » 

Revision 3759

Added by Jing Tao over 16 years ago

Don't transfer character which is greater than 128 or less thank 32 to numerical entity symbol.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatUtil.java
365 365
                             // otherwise skip
366 366
                         }
367 367
                         else {
368
                             str.append("&#");
368
                        	 //Don't transfer special character to numeric entity
369
                             /*str.append("&#");
369 370
                             str.append(Integer.toString(ch));
370
                             str.append(';');
371
                             str.append(';');*/
372
                             str.append(ch);
371 373
                         }
372 374
                     }
373 375
                 }

Also available in: Unified diff