Giter Club home page Giter Club logo

Comments (5)

ezyang avatar ezyang commented on July 17, 2024

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.

gary-albano avatar gary-albano commented on July 17, 2024

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.

mattiaswelander avatar mattiaswelander commented on July 17, 2024

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.

gary-albano avatar gary-albano commented on July 17, 2024

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.

ezyang avatar ezyang commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.