Comments (5)
Hey Matthias, I tried to reproduce using your description, but I couldn't:
<img style="border-style: solid; border-width: 10px; border-color: rgb(00,00,00);" src="" alt="" />
purifies into
<img style="border-style:solid;border-width:10px;border-color:rgb(0,0,0);" src="" alt="" />
Do you have the specific input that HTML Purifier is changing incorrectly?
from htmlpurifier.
Good day,
I, am working on a similar issue with htmlpurifier. I am skim reading / researching forgive me if this is unneeded. i used the demo http://htmlpurifier.org/demo.php and found that "border-color" is getting removed. my example data.
<td style="background-color:rgb(204, 255, 0); border-color:rgb(255, 0, 0); width:33%">Hi</td>
from htmlpurifier.
I don't understand. Do you have an issue with this? Try color in hex.
Den 12 maj 2014 18:21 skrev "gary-albano" [email protected]:
Good day,
I, am working on a similar issue with htmlpurifier. I am skim reading /
researching forgive me if this is unneeded. i used the demo
http://htmlpurifier.org/demo.php and found that "border-color" is getting
removed. my example data.Hi
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-42853840
.
from htmlpurifier.
Yup, i'm looking at that now, but i have to decide. modify purifier or modify ckeditor. the old FCK editor did not have a border-color option.
from htmlpurifier.
OK, so according to http://bit.ly/1vXXuJb the bug is we can't parse rgb() style colors. Sounds like a bug.
from htmlpurifier.
Related Issues (20)
- Remove supporting under PHP 5.2 version autoloader HOT 1
- Some csstidy declaration are not handle properly in ExtractStyleBlocks HOT 1
- Element 'button' is not supported (for information on implementing this, see the support forums HOT 1
- Content will be cut with multiple body tags HOT 1
- Typed property DOMAttr::$name must not be accessed before initialization HOT 1
- Wrong output when Core.CollectError is disabled HOT 1
- Is it possible to put a div inside an anchor tag? HOT 2
- javascript in a href if set with : HOT 2
- Cache.DefinitionImpl / Cache.SerializerPath ignored HOT 1
- Absolute worst security advice HOT 1
- Adding additional protocol handlers to URI.AllowedSchemes HOT 6
- New release HOT 1
- `HTMLPurifier_ConfigSchema::makeFromSerial()` fails because `service.ser` is missing
- Deprecated __autoload() method is used in HtmlPurifier.autoload.php
- URI schemas with dashes HOT 2
- Support for conditional HTML commenting e.g. `<!--[if mso]>` HOT 6
- Getting Error: Request exceeds maximum allowed text size of 50 KB HOT 2
- How to remove JavaScript & hyperlinks from HTML?
- Deprecations for preg_match, preg_replace_callback and null argument
- Unchecked input in HTMLPurifier_UnitConverter round() function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmlpurifier.