#205 invalid links label

pending-invalid
5
2011-11-30
2011-06-01
Anonymous
No

function addLink(SimpleAnchorTag $tag) {
$this->links[$this->links_counter] = $tag;
- $this->links_label[$this->links_counter] = str_replace("\xA0", ' ', $tag->getText() );
+ $this->links_label[$this->links_counter] = str_replace("\n", ' ', $tag->getText() );
$this->links_counter++;
}

in case Russian UTF-8 document current links_label break some letters

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-06-01

    this bug in page.php - SimplePage::addLink()

     
    Last edit: Anonymous 2015-07-07
  • Perrick Penet

    Perrick Penet - 2011-11-30

    Your patch doesn't fit with the current trunk. You can either try to send us another patch against trunk or add a full failing test case. We could pick it up from there.

    Thanks again for submitting this bug,
    Perrick

     
  • Perrick Penet

    Perrick Penet - 2011-11-30
    • labels: --> Unit test framework
    • assigned_to: nobody --> pp11
    • status: open --> pending-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks