This may or may not be a train of thought that will fix the paste in RTE
About: removing php tags from output of rte box
Paste in RTE must be sanatized or eliminated !
Comments
Mark de LA says
probably paste in any input box should be considered, login included
probably paste in any input box should be considered, login included
Seth says
other boxes have well defined validating routines. rte does not. you get back XHTML and somewhere in there is a script or something that is gonna give you a nightmare ... where is it and how to remove it. i dont know if there is a reliable regex for this ... might need to parse for <script></script> and <? ... ?> .. im not really sure ... gotta talk to some guru here can't rely on my own hands on knowledge
other boxes have well defined validating routines. rte does not. you get back XHTML and somewhere in there is a script or something that is gonna give you a nightmare ... where is it and how to remove it. i dont know if there is a reliable regex for this ... might need to parse for <script></script> and <? ... ?> .. im not really sure ... gotta talk to some guru here can't rely on my own hands on knowledge
Seth says
i really would prefer limiting the box to what people can do with their own hands and gadgets provided ... coping with giant pastes of markup from the wilderness of the web was never part of the feature definition
i really would prefer limiting the box to what people can do with their own hands and gadgets provided ... coping with giant pastes of markup from the wilderness of the web was never part of the feature definition
Mark de LA says
Well, somehow a comment on comments that helps identify the comment by item, group etc. should be in our future. You still have to copy/paste the text you want to comment on if this is possible.
Well, somehow a comment on comments that helps identify the comment by item, group etc. should be in our future. You still have to copy/paste the text you want to comment on if this is possible.
Mark de LA says
select the items and smoosh them together in one place
select the items and smoosh them together in one place
Seth says
thing is that i can do a much better job of quote comment with a controled gadget than you could do with your own mouse. but it would be always on the same item .. no move from item to item.
thing is that i can do a much better job of quote comment with a controled gadget than you could do with your own mouse. but it would be always on the same item .. no move from item to item.