1 27 package org.htmlparser.nodeDecorators; 28 29 import org.htmlparser.Text; 30 31 public class NonBreakingSpaceConvertingNode extends AbstractNodeDecorator { 32 public NonBreakingSpaceConvertingNode(Text newDelegate) { 33 super(newDelegate); 34 } 35 36 public String toPlainTextString() { 37 String result = delegate.toPlainTextString(); 38 return result.replace ('\u00a0',' '); 39 } 40 } 41 | Popular Tags |