CAPS LIKE WHOA (jc) wrote in suggestions,

Allow/require modifications to comments upon submitting, in case of bad markup

Allow/require modifications to comments upon submitting, in case of bad markup

Short, concise description of the idea
LiveJournal's HTML cleaner should detect bad HTML markup in a comment prior to submission, and prompt users to "fix irreparable" markup

Full description of the idea
Today I encountered my first comment with irreparable HTML markup in it. LiveJournal's HTML cleaner, which now displays the raw content of entries with malformed HTML, apparently does the same for comments. Obviously, the downside to this practice is that the author of a comment cannot correct any mistakes after the comment's been posted, and normally has to resort to re-posting the comment.

I'd like to propose that the HTML cleaner inspects the body text of a comment when someone clicks on the Submit button, and interrupts the submission process if it encounters markup errors to give the author the oppurtunity to fix them.

An ordered list of benefits

  • More convenient for the user than re-posting the comment and deleting the original
  • Fewer comment notifications sent for what is effectively the same comment
  • Encourages users to use (or even learn how to use) properly-formed HTML in comments, and potentially carry gained knowledge into their entries
  • An ordered list of problems/issues involved

  • May prevent users from posting comments if errors continue to be found. Could be solved by offering options such as "Submit HTML-stripped" and/or "Submit anyway", where the latter would result in the comment being posted raw with the irreparable markup error
  • An organized list, or a few short paragraphs detailing suggestions for implementation

  • Invoke the HTML cleaner when the user clicks "Submit", to check for markup errors and complain if necessary
  • Create interim page on talkpost_do.bml similar to the Preview Comment page, with explanatory text as to what's gone wrong and various options as to what to do with the comment. Not sure whether the HTML cleaner can highlight specific markup errors, but that'd be helpful to the less clued-up users
  • Tags: comments, html cleaner, markup, § implemented differently
    • Post a new comment


      Anonymous comments are disabled in this journal

      default userpic

      Your reply will be screened

      Your IP address will be recorded