LetoDMS Community Forum
Comment - Add attributes <br/> to the comment. - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Feature Request (https://community.letodms.com/forumdisplay.php?fid=7)
+--- Thread: Comment - Add attributes <br/> to the comment. (/showthread.php?tid=185)



Comment - Add attributes <br/> to the comment. - quainhankid - 10-06-2010

I want my comment down the line when you press enter. There is no way to do this?.
Sorry for English skills is not very good: D.


RE: Comment - Add attributes <br/> to the comment. - matteo lucarelli - 10-07-2010

Actually there is no html formatting on comments. It should be a future improvement.


RE: Comment - Add attributes <br/> to the comment. - 3dente - 12-14-2012

To see the line breaks in the comment field can do what I did:

in style.css add:
.pre {
white-space: pre-wrap
}

in out/out.ViewDocument.php add the class .pre in comment fields, example:
<td class="pre"><?php print htmlspecialchars($document->getComment());?></td>