# Help display csv file to dashboard with new line

**URL:** <https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700>\
**Category:** Dashboard\
**Created:** [12 December 2018 09:42 UTC](https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700 "2018-12-12T09:42:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veills](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@Veills](https://discourse.nodered.org/u/Veills)\
**Post date:** [12 December 2018 09:42 UTC](https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700/1 "2018-12-12T09:42:36Z")

</div>

hello, im new in this forum  
i want to ask something  
i have problem with display my csv file to dashboard, i use template node (dashboard)  
i have succeeded logging it to csv

i have succeeded to display it but it cant make new line at dashboard. any idea how to solve it?

thank you before and sorry for bad english

 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/82851ded77e0bda47f52633cb3cf522c1375bab5.png)

---

<div class="post-metadata">

**Author:** ![Veills](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@Veills](https://discourse.nodered.org/u/Veills)\
**Post date:** [12 December 2018 09:46 UTC](https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700/2 "2018-12-12T09:46:20Z")

</div>

this my flow to display it

> [{"id":"dd9767b0.6606b8","type":"ui\_template","z":"c64dd393.5b149","group":"5ba2e189.2af84","name":"","order":0,"width":"12","height":"10","format":"\<div ng-bind-html="msg.payload"\>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":618.0000114440918,"y":695.0000095367432,"wires":[]},{"id":"7b60a60c.b30eb8","type":"inject","z":"c64dd393.5b149","name":"","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":false,"onceDelay":0.1,"x":216.00001525878906,"y":695.0000104904175,"wires":[["ea1ff75d.a54518"]]},{"id":"ea1ff75d.a54518","type":"file in","z":"c64dd393.5b149","name":"","filename":"/home/pi/log/log.csv","format":"utf8","chunk":false,"sendError":false,"x":415.0000305175781,"y":695.0000095367432,"wires":[["dd9767b0.6606b8"]]},{"id":"5ba2e189.2af84","type":"ui\_group","z":"","name":"Txt","tab":"dd6e5815.a88718","order":1,"disp":true,"width":"12","collapse":false},{"id":"dd6e5815.a88718","type":"ui\_tab","z":"","name":"Home","icon":"dashboard"}]

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 December 2018 09:53 UTC](https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700/3 "2018-12-12T09:53:12Z")

</div>

The dashboard is expecting html so you will need to add tags like   
 at line ends etc...

---

<div class="post-metadata">

**Author:** ![Veills](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@Veills](https://discourse.nodered.org/u/Veills)\
**Post date:** [12 December 2018 10:01 UTC](https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700/4 "2018-12-12T10:01:41Z")

</div>

thanks for fast reply

where can i put tags? because i didnt change anything from template node, and i dont know where to put it

 ![Capture1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2caf0684740fff003692360506f2f613323703cc.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 December 2018 10:25 UTC](https://discourse.nodered.org/t/help-display-csv-file-to-dashboard-with-new-line/5700/5 "2018-12-12T10:25:03Z")

</div>

you would need a preceding node, probably a function or change node, to change any \n characters into   
 before passing to the template,.
