удалил все <br>, написал функцию которая подставляет <br> на место \n.
This commit is contained in:
parent
dd1eed15cf
commit
c7d7decfd8
11 changed files with 55 additions and 39 deletions
|
@ -88,13 +88,11 @@ var replace_type_def = function(_ln){
|
|||
}
|
||||
|
||||
var replace_enters_to_br = function(_str){
|
||||
// console.log(_str)
|
||||
var out = _str;
|
||||
while(out.match("\n")) out = out.replace("\n", "<br>");
|
||||
|
||||
// console.log(out);
|
||||
return out;
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
linkto: linkto,
|
||||
|
|
0
templates/initi/static/styles/members.css
Normal file
0
templates/initi/static/styles/members.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue