View Single Post
Old 03-14-2014, 12:12 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,887
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
We are using a code editor as you pointed out.
I would agree 100% with your plan if the user was working on the WYS(WYG) side

I guess the question is where do you stop protecting the user from producing invalid code?

I can already delete any part of tag code, leaving it invalid.

I don't know how hard it would be to Sanity validate the selection and report:

"Selected text contains unbalanced tag pairs"
theducks is offline   Reply With Quote