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
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
this bug in page.php - SimplePage::addLink()
Last edit: Anonymous 2015-07-07
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