Thread: Text overflows
View Single Post
  #5  
Old 15th October 2015, 18:22
GetRich GetRich is offline
Member
 
Join Date: Oct 2015
Posts: 7
Default
I replaced
Code:
if (!empty($row["descr"]))
                        tr("Description", str_replace(array("\n", " ", "?", " ", "U^", " ", "^(2)", " ",
                        "U", " ", "?", " ", "Y", " ", "°", " ", "±", " ", "?", " ", "U'", " ", "A", " ", "?", " ", "^(3)",
                        " ", "A`", " ", "U`", " ", "A~", " ", "?", " ", "^(o)", " ", "E`", " ", "I'", " ", "1/4", " ",
                        "i`", " ", "E'", " ", "»", " ", "y", " ", "u`", " ", "O~", " ", "?", " "), array("<br>\n", "&nbsp; "),
                        format_urls(htmlspecialchars($row["descr"]))), 1);
with

Code:
if (!empty($row["descr"]))
            $HTMLOUT .= "<tr><td class='rowhead' style='vertical-align:top'>{$lang['details_description']}</td><td><div style='background-color:transparent;height:65%;width:100%'>". str_replace(array("\n", ""), array("\n", ""), format_comment( $row["descr"] ))."</div></td></tr>";
but now I don't have a description at all :(
Reply With Quote