Menu

#207 RemarkNode.toPlainTextString() incorrect behaviour

v1.6
closed-fixed
None
5
2006-05-27
2006-05-15
No

I suppose, that RemarkNode.toPlainTextString() should
return empty string. Because otherwise

NodeList bodies = parser.
extractAllNodesThatMatch(new NodeClassFilter(BodyTag.
class));
String body = bodies.asString()

returns all the body text + text inside comments.

Discussion

  • Derrick Oswald

    Derrick Oswald - 2006-05-27
    • assigned_to: nobody --> derrickoswald
    • status: open --> closed-fixed
     
  • Derrick Oswald

    Derrick Oswald - 2006-05-27

    Logged In: YES
    user_id=605407

    RemarkNode.toPlainTextString() now always returns an empty
    string
    if you want the remark text use getText()

     

Log in to post a comment.

MongoDB Logo MongoDB