1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
|
commit 256dd59efc4cc0997e401c842134685efc838f1f (HEAD, tag: v2.0, origin/master, bejbus/master, master)
Author: anonymous <not-a-mail@noreply.org>
Date: Sun Nov 13 21:23:34 2011 +0300
Add new <bdi> and rehabilitated <u> to html5 whitelist
data/whitewash/html5_whitelist.yaml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 705380b4a6a3ee70f3847125a0ee56399f015951
Author: anonymous <not-a-mail@noreply.org>
Date: Thu Nov 10 18:34:35 2011 +0300
Remove dead code.
This code will never be reached without config.strict, so remove it.
lib/whitewash.rb | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
commit bb6fe4ad5478867995b8248481d8761f93f733e3
Author: anonymous <not-a-mail@noreply.org>
Date: Tue Nov 8 22:25:06 2011 +0300
Nokogiri::NodeSet has to_xhtml too
lib/whitewash.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 901cad794ab3072c2edf872276d5b38b14686408
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Mon Nov 7 00:25:41 2011 +0300
use Syck to parse the whitelist
As of ruby 1.9.3, Psych is the default YAML engine, but it's unable to
correctly handle aliased !ruby/regexp nodes in the Whitewash whitelist:
https://github.com/tenderlove/psych/issues/36
lib/whitewash.rb | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
commit 28f1649b419db704b645e8faa0f68fc10d6fe103
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Sun Nov 6 22:03:01 2011 +0300
block protocol resolution bypass in uri attributes
data/whitewash/whitelist.yaml | 2 +-
lib/whitewash.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 83de10fdf87e5ae9fd1781cba27330c514b67004
Author: anonymous <not-a-mail@noreply.org>
Date: Thu Oct 27 17:45:45 2011 +0300
fix typo in html5_whitelist.yaml
data/whitewash/html5_whitelist.yaml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 6a0534fd2f44122d6c09e53cd19103116d8a19d8
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Tue Nov 1 22:13:34 2011 +0300
mention Nokogiri and HTML5 whitelist in README, update copyright
README.rdoc | 36 ++++++++----------------------------
lib/whitewash.rb | 2 +-
2 files changed, 9 insertions(+), 29 deletions(-)
commit 8ff06aea8821c2db26c9fd31056e4233cdd35882
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Tue Nov 1 22:03:11 2011 +0300
add rspec and make it pass
* remove <meta> element from the whitelist
* sanitize <style> elements, not only style="" attributes
* return empty string if no valid elements are found
* drop <body> and join all its children
data/whitewash/whitelist.yaml | 5 --
lib/whitewash.rb | 20 +++++---
spec/spec_helper.rb | 8 +++
spec/whitewash_spec.rb | 99 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 119 insertions(+), 13 deletions(-)
commit 2acd92315e678a05b8c47dab2306f78010e93545
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Wed Oct 26 16:47:54 2011 +0300
promote html5 whitelist from contrib
contrib/html5_whitelist.yaml | 390 -----------------------------------
data/whitewash/html5_whitelist.yaml | 390 +++++++++++++++++++++++++++++++++++
2 files changed, 390 insertions(+), 390 deletions(-)
commit 933e9b9486056931b27283355ae1e5de3273b1d1
Author: anonymous <not-a-mail@noreply.org>
Date: Tue Oct 18 20:02:44 2011 +0300
add html5 whitelist to contrib
contrib/html5_whitelist.yaml | 390 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 390 insertions(+), 0 deletions(-)
commit 889508495f4c64ad2c1fafceddd96cd3c91f5e74
Author: anonymous <not-a-mail@noreply.org>
Date: Tue Oct 18 20:02:19 2011 +0300
don't remove incorrect elements, replace them with their content
lib/whitewash.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit b6ca2f5e651f164e80874b04ec42c08f7845c1c3
Author: anonymous <not-a-mail@noreply.org>
Date: Mon Oct 17 22:50:15 2011 +0300
use nokogiri
lib/whitewash.rb | 167 ++++---------------------------
lib/whitewash_rexml_attribute_patch.rb | 9 --
2 files changed, 22 insertions(+), 154 deletions(-)
commit 4c2c6ea4f81a578f816ecba1aeb4a21c208c4cec
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Sun Oct 9 14:44:26 2011 +0300
use RbConfig, Config is deprecated in ruby 1.9.3
lib/whitewash.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit dd5807ca52cfdfc9a9f68d06cf10e78146fd71c5
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Wed Sep 28 20:31:20 2011 +0300
Config::CONFIG is tainted in ruby 1.9
lib/whitewash.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f55c88cbf2a3671bad4c9788d6862dca3377910c
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Fri Sep 16 22:16:46 2011 +0300
old Monotone changelog
ChangeLog.mtn | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
commit 09c4d36528e39f8bacfa8d801e50770a4ead0d66
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Fri Sep 16 22:08:42 2011 +0300
require yaml
lib/whitewash.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 26fa1591fe537485619d841899a91475cede681d
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Sat Jun 4 22:36:18 2011 +0300
rdoc doesn't grok trailing slashes in URLs
README.rdoc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit a88e509473b154e9966f8d185704ed013efc23e4
Author: Dmitry Borodaenko <angdraug@debian.org>
Date: Sat Jun 4 22:34:48 2011 +0300
minor rdoc markup fix
README.rdoc | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
|