Hi people,
I have got a app that makes notes and they are stored in a TinyDB and viewed in a listview.
When I select the Note it opens a cardview with the whole note you have written but somehow it also shows the <br>
how cam I remove the <br>
but still have an enter?
See screenshot:
Peter
(Moderator)
November 5, 2019, 1:35pm
#2
How do the <br>
come into your result? Multiline Textbox? Added them yourself?
You could replace all the <br>
with a \n
before displaying the result.
In what component do you display the result?
1 Like
Peter
(Moderator)
November 5, 2019, 1:36pm
#3
If it is a label did you set the html format?
I have tried the \n and it works when I open the message,
but now the listview shows it like this instead of the one above.
Peter
(Moderator)
November 5, 2019, 3:23pm
#7
So the listview uses <BR>
to split screens and and the label \n
. Set the label to html formatting should do the trick, like i showed you.
7 Likes
Enable html option in lbl
Peter
(Moderator)
November 5, 2019, 3:47pm
#10
23 minutes to late @ceo_aiastore.in
well he still gave his contrubution
system
(system)
Closed
December 5, 2019, 4:07pm
#13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.