BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

HTML helper cannot add fontawesome icons in button

Description

This code will generate an encoded html.

#html.button( type = "submit", name = "submit", value = "<i class='fa fa-check'></i> Ciao", class = "btn btn-danger", title = "ciao" )#

Gliffy Diagrams

Activity

Show:

Francesco Pepe July 3, 2018 at 9:56 PM

I like rawValue. Go for it.

Luis Majano July 3, 2018 at 9:23 PM

How about *rawValue* or *valueRaw*

Francesco Pepe July 3, 2018 at 8:04 PM

The only solution it's probably to add another parameter "htmlValue".

Luis Majano July 3, 2018 at 7:21 PM

This might be one case, but how do we do this for maybe all cases where the values does NOT need to be escaped?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created July 3, 2018 at 5:21 PM
Updated July 20, 2018 at 4:36 PM
Resolved July 19, 2018 at 8:09 PM

Flag notifications