-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In my model:
def array_of_stuff
[
1,
2,
3
]
end
In my config:
- field: array_of_stuff
header: cool things
method: multilineIn my helper utils class:
class MyHelperUtils < TinyAdmin::Support
def multiline(array, options: [])
array.join("<br/>") # Doesn't matter if I append `.html_safe`, or anything else I've tried
end
endPage Result in the browser (<br/> tags appear as raw text, not as HTML):
1<br/>2<br/>3
The above is wrapped in actual HTML <span> open/close tags.
Is there a way to have a helper output HTML and have it render as HTML?
Metadata
Metadata
Assignees
Labels
No labels