5.92: $options->TableTitle = keeps HTML
Posted: 2020-11-17 14:20
Hi,
I am using
to set the page title. The variable $newTableTitle contains HTML. Example:
Looks like this:
It seems that AG takes the complete string to also name the page like this.
I would expect that the page title - which can be seen in the browser - get's cleaned of HTML tags.
So the title, when I hover the browser tab should read "my title" (maybe prefixed by the application title), but not like it does now: I might have some JS hidden (can not find it right now) that created that title - so I am not 100% it's AG or it's "me".
Olaf
I am using
Code: Select all
$options->TableTitle = $newTableTitle;
Code: Select all
$newTableTitle = "my title (<a href="somepage.php">go here</a>)";
I would expect that the page title - which can be seen in the browser - get's cleaned of HTML tags.
So the title, when I hover the browser tab should read "my title" (maybe prefixed by the application title), but not like it does now: I might have some JS hidden (can not find it right now) that created that title - so I am not 100% it's AG or it's "me".
Olaf