Add html santization to node-html-parser library (SR JS Dev Required)

ปิด โพสต์แล้ว 5 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ปิด

We're using this library to parse HTML, which is VERY FAST:

[login to view URL]

The problem is, if the HTML it processes is malformed, like <h3>Title<h3> then it breaks and the outputted HTML is broken as well.

I've investigated libraries like [login to view URL], but every existing sanitize libraries I found were far too slow > 100ms. If we build this feature for our exact use case, I think we can keep the node-html-parser very fast.

We need the whole thing to be done in under 30ms, parsing, sanitizing/repairing etc, so speed is very much a concern.

We could either modify the existing node-html-parser library to include sanitization functionality, or we could include an existing library (if we can find one fast enough). Since the node-html-parser already deals with breaking up the HTML into nodes, parsing line by line, I think it makes the most sense to add this functionality right into the library.

Scope

* fix simple broken html (unclosed tags etc)

* detect if html is broken beyond repair and skip parsing

Requirements

* Senior Javascript Developer - We need you to be able to write this code to be clear, concise and performant.

HTML5 JavaScript Node.js PHP Typescript

หมายเลขโปรเจค: #18538732

เกี่ยวกับโปรเจกต์

13 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer freelancer 13 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $21/ชั่วโมง

leadconcept

Hi there, I have read everything carefully & understood the scope of this project, as you have nicely explained whole functionality. However, it would be really good, if you can initiate the chat and talk to be befo เพิ่มเติม

$22 USD / ชั่วโมง
(98 รีวิว)
9.0
KashirinA

Hi,nice to meet you. i read your description carefully and am very interesting in your project. i can start right now and can help you. if you hire me,i will do my best for you and you can get the best results. tha เพิ่มเติม

$22 USD / ชั่วโมง
(142 รีวิว)
7.5
tangramua

Hi, I'm a representative of web development company. We have 17 years experience and we are ready to help you. We have 5 senior web developers in our team. JavaScript is our main specialization. I'm ready to di เพิ่มเติม

$20 USD / ชั่วโมง
(43 รีวิว)
6.8
mountian1997

Hi I have been specializing in web design & development, including Angular, Node, MongoDB, Laravel,PHP, HTML & HTML 5, PSD to HTML, Ajax, JQuery, Css, JavaScript, Bootstrap, MySQL, Payment integration for 7+ years. I c เพิ่มเติม

$20 USD / ชั่วโมง
(29 รีวิว)
5.4
kshamaz

Hello, This is Shamzi here from Bangalore, India. Hope you're doing very well. I'm a passionate Web Applications and Browser extensions developer. In my 7+ years of work experience in this field, I have gained so เพิ่มเติม

$22 USD / ชั่วโมง
(10 รีวิว)
4.4