1.
If I straight up
insert_array['post_text'] = $this->request->variable('post_text', '', true);
into the database, the database holds already the <&>
, without the <t>
.2.
If I straight up
insert_array['post_text'] = $this->parser->parse('<&>')
into the database, the database holds the correct <t><&></t>
3.
And then when I
$this->parser->parse($this->request->variable('post_text', '', true));
the output is <t>&lt;&amp;&gt;</t>
, so basically it decodes all the &
-sings from example 1.(I've tried various ways, options etc,
multibyte
makes no difference aswell. And I am sure I am not 'accidentaly' parsing it twice myself somewhere ..I've uploaded the extension I've got thusfar, but it's already rather big so not sure if it's followable and I can't expect you to look at it, when I can't even make sense of it myself of what's going on.
Thanks for your trouble though, I'll stumble on the solution/problem in a couple of days when I least expect it *fingers crossed*