WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => Modules => Topic started by: kuerbis42 on July 27, 2021, 08:42:13 PM

Title: Code v3.0.5 (WSB 2.13.0 r13): parse error when using "<textarea>"
Post by: kuerbis42 on July 27, 2021, 08:42:13 PM
Hi, unfortunately I' ve an error within the module "Code v3.0.5".

for better visibility, I made screen shots, but here a short explanation:
Insert an code-block, enter the following code snip:

echo '<form><textarea>nothing there</textarea><input type"text" name="name" value="know you find it here" ></form>';

Press save an look at the result.
I found out, that the "keyword" is  </textarea> within the "code editor"
But at the frontpage, this breaks at <textarea>

So, something in paring "textarea" wents wrong

This breaks the code-editor after reload the editing page (see attachment containing a picture).


Greets Kuerbis42
Title: Re: Code v3.0.5 (WSB 2.13.0 r13): parse error when using "<textarea>"
Post by: hgs on July 28, 2021, 07:58:58 AM
Please update to the currently released version WB 2.13 r63 and see if the error is gone.http://wiki.WebsiteBaker.org/doku.php/en/downloads
Thanks
Title: Re: Code v3.0.5 (WSB 2.13.0 r13): parse error when using "<textarea>"
Post by: dbs on July 28, 2021, 08:43:16 AM
And try this: https://forum.WebsiteBaker.org/index.php?topic=31683.0 (https://forum.WebsiteBaker.org/index.php?topic=31683.0)
Title: Re: Code v3.0.5 (WSB 2.13.0 r13): parse error when using "<textarea>"
Post by: kuerbis42 on July 28, 2021, 09:06:49 AM
Quote
https://forum.WebsiteBaker.org/index.php?topic=31683.0
Thx, yes, I did this today and it works.
For others, the workaround is this:
Code: [Select]
echo '<text'.'area>foobar</text'.'area>';It work's