удалил все <br>, написал функцию которая подставляет <br> на место \n.

This commit is contained in:
alexey 2018-09-25 00:09:33 +03:00
parent dd1eed15cf
commit c7d7decfd8
11 changed files with 55 additions and 39 deletions

View file

@ -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 } ?>