удалил все <br>, написал функцию которая подставляет <br> на место \n.
This commit is contained in:
parent
dd1eed15cf
commit
c7d7decfd8
11 changed files with 55 additions and 39 deletions
|
@ -19,7 +19,7 @@ var self = this;
|
|||
|
||||
<?js if (data.kind !== 'module' && data.description && !data.hideconstructor) { ?>
|
||||
<div class="description">
|
||||
<?js= data.description ?>
|
||||
<?js= this.replace_enters_to_br(data.description) ?>
|
||||
</div>
|
||||
<?js } ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue