Skip to main content
3 events
when toggle format what by license comment
Nov 2, 2022 at 10:59 comment added Tom J Nowell interesting, you should ask a new question about that, if I left an answer for that question here it would be incredibly confusing to anybody who came here since that's not what your original question was asking. Also you're falling into the X Y problem trap, except it looks more like an X Y Z problem here, you should ask how to solve your problem, not how to fix your solution, in this case there's multiple layers as your check + alert combination is also a solution to an unnamed problem. Would it not be easier to add a HTML class? Inline styling is an anti-pattern
Nov 1, 2022 at 18:48 comment added ubsd I am trying to show an alert when code was removed and disallow the field to be submitted hence the strcmp(), however I am getting a false negative and the strings are different whether kses removed code or not. Clearly the strcmp is not allowing this to happen, so how can I achieve that?
Nov 1, 2022 at 18:00 history answered Tom J Nowell CC BY-SA 4.0