Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Dec 11, 2013
  1. @julisana

    Small bugfix. Forgot to remove a ( when updating the version.

    julisana authored
     Changes to be committed:
    	modified:   htmLawed.class.php
  2. @julisana

    Version updates to the classfile: 1.1.14 to 1.1.16. Also introduced

    julisana authored
    some minor functionality to allow for easy add/removal of acceptable
    tags. This was for easyness on a project here, and can easily be
    removed.
    
     Changes to be committed:
    	modified:   htmLawed.class.php
    	new file:   original-src/1.1.14/htmLawed.php
    	new file:   original-src/1.1.14/htmLawedTest.php
    	new file:   original-src/1.1.14/htmLawed_README.htm
    	new file:   original-src/1.1.14/htmLawed_README.txt
    	new file:   original-src/1.1.14/htmLawed_TESTCASE.txt
    	new file:   original-src/1.2.beta/changelog.txt
    	new file:   original-src/1.2.beta/htmLawed.php
    	new file:   original-src/1.2.beta/htmLawedTest.php
    	new file:   original-src/1.2.beta/htmLawed_README.htm
    	new file:   original-src/1.2.beta/htmLawed_README.txt
    	new file:   original-src/1.2.beta/htmLawed_TESTCASE.txt
    	modified:   original-src/htmLawed.php
    	modified:   original-src/htmLawedTest.php
    	modified:   original-src/htmLawed_README.htm
    	modified:   original-src/htmLawed_README.txt
    	modified:   original-src/htmLawed_TESTCASE.txt
Commits on Feb 7, 2013
  1. @julisana

    Some general cleanup of the code as far as spacing is concerned.

    julisana authored
    Added whitelist functionality to the allowed attributes portion
    of the class. Both blacklist and whitelist work, but not in tandem.
    If one is selected, the other will not work, and whitelisting checks
    first.
    
    Added new setting that will allow the user to force the text into
    utf-8 when it isn't already. It's basic and only uses utf8_encode,
    but when preparing info for XML, it's a handy setting to be able
    to run.
    
     Changes to be committed:
    	modified:   htmLawed.class.php
Commits on Nov 13, 2012
  1. @julisana

    Updated the class to do a better job of removing Microsoft and other …

    julisana authored
    …unwanted characters
    
     Changes to be committed:
    	modified:   htmLawed.class.php
Commits on Sep 26, 2012
  1. @julisana

    Update of the original source code for this project.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   original-src/htmLawed.php
    	modified:   original-src/htmLawedTest.php
    	modified:   original-src/htmLawed_README.htm
    	modified:   original-src/htmLawed_README.txt
    	modified:   original-src/htmLawed_TESTCASE.txt
Commits on Sep 6, 2012
  1. @julisana

    Small update to the class file to fix the following error

    julisana authored
    PHP Unknown: Non-static method htmLawedSafe::hl_tag() should not be called
    statically, assuming $this from compatible context htmLawedSafe in
    htmLawed.class.php on line 351
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
Commits on Aug 15, 2012
  1. @julisana
  2. @julisana

    Encapsulated the 'remove empty tags' functionality into a config entry.

    julisana authored
    Also set the keep/deny attribute functionality to be either-or - Can be changed
    by setting one to have a value and the other to be empty.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
Commits on Aug 13, 2012
  1. @julisana

    Added functionality to remove empty tags (<p></p>). This functionalit…

    julisana authored
    …y could
    
    be wrapped in a new configuration element but for right now it's just
    included into hl_bal.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  2. @julisana

    Added potential ability for whitelisted attributes in lieu of blackli…

    julisana authored
    …sted
    
    ones.
    
    There's no way to utilize this functionality yet, but it is there regardless.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
Commits on Aug 8, 2012
  1. @julisana

    Update README.md

    julisana authored
    Update of the readme to reflect the current state of the project and class.
  2. @julisana

    Small bugfix from upgrade to newest version

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  3. @julisana

    Removing of unneeded files from repo

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	deleted:    htmLawed.php
    	deleted:    htmlCleaner.class.php
  4. @julisana

    Removing unneeded files from repo.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	deleted:    htmLawedTest.php
  5. @julisana

    Updated htmLawed class to match up with v1.1.14 of the original htmLawed

    julisana authored
    script.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  6. @julisana

    Updating the original source files to the latest version

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   original-src/htmLawed.php
    	modified:   original-src/htmLawedTest.php
    	modified:   original-src/htmLawed_README.htm
    	modified:   original-src/htmLawed_README.txt
    	modified:   original-src/htmLawed_TESTCASE.txt
  7. @julisana

    Significant updates to the htmLawed class to remove bugs and meet pro…

    julisana authored
    …ject
    
    requirements.
    
    * deny_attributes now correctly processes the default list in the config
    * style & class attributes are now denied
    * i and b are now correctly converted to em and strong
    * span tags are now being removed
    * the problems that removing the span tags caused have been resolved
    * The big list of valid elements has been pared down to only include
      elements required for the project this is being adapted for.
      - Any desired elements that are not included can be uncommented at
        any time
    * Because of the above bullet point, most of hl_tag2 has been commented
      out, except for the tag conversion for i and b, because the tags that
      correspond to the commented elements are automatically stripped out.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
Commits on Jul 16, 2012
  1. @julisana

    Replaced first comment as it's no longer necissary or accurate.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  2. @julisana

    Changes to function that will make the results of clean() XML safe, a…

    julisana authored
    …s well
    
    as apply htmlspecialchars to the output.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  3. @julisana

    removed uneeded print_r/die used for testing.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  4. @julisana

    Made changes to the wrong file with last commit.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  5. @julisana

    Changes to htmLawed.class to test exclusions spans in sanitized HTML.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
Commits on Jul 12, 2012
  1. @julisana

    Changes to be committed:

    julisana authored
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
Commits on Jul 11, 2012
  1. @julisana

    Better regex to match <?xml

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  2. @julisana

    Ability to match <? type tags (<?xml <?php etc)

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
  3. @julisana

    Additional refactoring and importing changes into the htmLawed class.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.class.php
    	modified:   htmLawed.php
Commits on Jul 10, 2012
  1. @julisana

    Removed use of ob_start() etc from hl_tidy(). This makes debugging ea…

    julisana authored
    …sier
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
  2. @julisana

    Fixing another error

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
  3. @julisana

    Re-added array that was mistakenly removed.

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
  4. @julisana

    Additional variable name refactoring, as well as removing ob_start() etc

    julisana authored
    usage from hl_bal(). This makes debugging easier.
    
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
  5. @julisana

    Additional variable name refactoring

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
Commits on Jul 6, 2012
  1. @ecaron
  2. @ecaron

    Synced with the 1.1.12 release

    ecaron authored
  3. @julisana

    Additional variable name refactoring

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
  4. @julisana

    Additional variable name refactoring

    julisana authored
     Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
    
    	modified:   htmLawed.php
Something went wrong with that request. Please try again.