TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: @rjen on February 26, 2023, 05:51:56 PM
Seems there are some strange features in the html editor for blocks:
When the user puts a <textarea> in the body of an html block, the body text is cut just before the closing </textarea>
Reported here:
https://www.simplemachines.org/community/index.php?msg=4146570
and I confirmed it: put below text in a HTML block and save to see the result
<textarea name="affiliates">Some text</text area>
<img src="https://www.tinyportal.net/Themes/alphacentauri203/images/theme/logo_light.png>"
Interesting. When I tested it the closing textarea tag would just disappear even if added on its own.
QuoteTextarea is used to input data.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
What is happening is expected behaviour, if you want it to work differently speak to Mozilla, Google or Apple.
If you would like to affiliate with us, please use the code below, to add us to your site.
You can reply to the Affiliates Requests thread, to send us your code. Images need to be 88x31px. |
|
|
:hmm: it's strange that you can post it in SMF between html tags, but the code doesn't save in our html blocks,
Quote from: lurkalot on February 26, 2023, 10:28:55 PM:hmm: it's strange that you can post it in SMF between html tags, but the code doesn't save in our html blocks,
That's bbcode so would allow it.
If you want to see what's happening look at the console in your web browser. It's not a TinyPortal bug.