By bengt on
Why does this code:
$content .= filter_filter('process', $delta = 2, $format = 1, $node->flexinode_9);
accept tags such as TABLE, P etc? I believe format = 1 is "Filtered HTML/HTML filter" which should only accept A, EM, STRONG, CITE, CODE, UL, OL, LI, DL, DT, and DD. Or am I wrong? It doesn't matter if I log in as Admin or just a regular user for whom format 1 is the only option. I have created a format = 4 which is a kind of "Filtered HTML/HTML filter", but which accepts TABLE, P, and some others.
By the way, if I change delta to 0 in the above code, all text just shows up as on long "line".
Can anyone shed som light on these issues?
I am using 4.7 b4.