Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Freemarker create separate line

Tags:

freemarker

I need to add a line for separate datas in my ticket. In html, we used the tag: "hr"

qwerty


qwerty

but, I dont know how is in freemarker. Do you could help me?

like image 246
Manu Avatar asked May 24 '26 04:05

Manu


2 Answers

You can still output HTML using FreeMarker. FreeMarker is just a template engine that outputs text. The <hr> tag will still work inside your FreeMarker code.

like image 181
ratherblue Avatar answered May 26 '26 18:05

ratherblue


You may use ${'\n'} variable within another freemarker function to create new line in specific place

like image 22
Ilya Yevlampiev Avatar answered May 26 '26 18:05

Ilya Yevlampiev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!