Item11496: check that element exists before using it, as per pharvey's suggestion.

git-svn-id: http://svn.foswiki.org/trunk@13899 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11458: Add back in passwords_modifiable

Otherwise password change, reset, and the password fields in
registration are disabled.

git-svn-id: http://svn.foswiki.org/trunk@13900 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11251:  Ressurect SafeWikiPlugin

Add a whitelist that can permit some inline scripts.
Adjust regexes for latest strikeone
Work around the duplicate base close inside if IE comment.
Add a WARN mode so it can be enabled without disabling things
Trap a die due to improperly formed html

git-svn-id: http://svn.foswiki.org/trunk@13901 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11499: fixing invalid html; every page should have one h1.



git-svn-id: http://svn.foswiki.org/trunk@13902 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item10247: improve UI display settings

git-svn-id: http://svn.foswiki.org/trunk@13906 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item10247: couple more UI setting tweaks

git-svn-id: http://svn.foswiki.org/trunk@13908 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11383: Extraneous /blockquote

git-svn-id: http://svn.foswiki.org/trunk@13911 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11251: Better handling of corrupted document

git-svn-id: http://svn.foswiki.org/trunk@13912 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11501: Sync validation code from Release11

Validate that no registration field contains html markup. Uses simple
test for < or >.   Bypass testing of the password and password confirm
fields.

Still needs to be incorporated into BulkRegistration, but that is done
by Admin Users, so no risk.

Add a unit test.

git-svn-id: http://svn.foswiki.org/trunk@13913 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item1928: Fix failure on extraneous close

Implement CrawfordCurrie's suggestion to resolve the parser closing all
open tags when it encounters an extra close.,

Note that some topics still get corrupted.

git-svn-id: http://svn.foswiki.org/trunk@13914 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11501: Failing unit test

Forgot to change from Error::Simple to Oops exception.

git-svn-id: http://svn.foswiki.org/trunk@13915 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11502: %QUERY containing where clause can fail if only one item is being examined for the test

git-svn-id: http://svn.foswiki.org/trunk@13919 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11503: fix CPAN module spelling mistake

git-svn-id: http://svn.foswiki.org/trunk@13920 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11501: Change from validate to encode

git-svn-id: http://svn.foswiki.org/trunk@13923 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11501: Change the encoding

expandCommonVariables was doing too much.   Change to use the safe
encoding regex from ENCODE .pm

git-svn-id: http://svn.foswiki.org/trunk@13924 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item1928: ignore nop tags, ignore unmatched close tags

git-svn-id: http://svn.foswiki.org/trunk@13926 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item1928: improved parser recovery on malformed HTML; added HTML5 tags; reorganised config to give more control to the admin; tidied

git-svn-id: http://svn.foswiki.org/trunk@13927 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11383: its 2012 now, not 2009 :)

git-svn-id: http://svn.foswiki.org/trunk@13929 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item1928: handle failures better

git-svn-id: http://svn.foswiki.org/trunk@13930 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item11512: fix SWP problems in most system topics. Some improvements to SWP as a result of the exercise

git-svn-id: http://svn.foswiki.org/trunk@13931 0b4bb1d4-4e5a-0410-9cc4-b2b747904278