Skip to content

issues Search Results · repo:cheeriojs/dom-serializer language:TypeScript

Filter by

30 results
 (78 ms)

30 results

incheeriojs/dom-serializer (press backspace or delete to remove)

As part of the RoSctober Race presented by Race of Sloths, we recognized this repo to be highly valuable in the open-source movement. Existing and new contributors will be rewarded proportionally to their ...
  • race-of-sloths
  • Opened 
    on Sep 20, 2024
  • #1247

import serialize from dom-serializer ; import { parseDocument } from htmlparser2 ; const html = ` div class= container foo / ...
  • missannil
  • 1
  • Opened 
    on Jan 26, 2024
  • #1143

This might very well be me misunderstanding something, but I expected a non-breaking space (U+00a0) to not be encoded as nbsp; when specifying encodeEntities: utf8 . Is this intended behaviour?
  • ehamberg
  • 1
  • Opened 
    on Jan 2, 2024
  • #1122

Hello and thank you for making these tools :) If you add a non-String attribute to any node and ask dom-serializer to parse it, it will treat the attribute value as a string and quickly throw an error. ...
  • atjn
  • Opened 
    on Mar 7, 2023
  • #930

Hi there, thanks for making dom-serializer available, I m looking forward to using it for years to come. I encountered a weird issue around self-closing tags: The Readme clearly states: example With selfClosingTags: ...
  • BenWiederhake
  • 1
  • Opened 
    on May 25, 2022
  • #727

Either the name or the description of the encodeEntities option looks wrong for what it does: const elem = parseDocument(` img src= /foo?bar=bat quote= quot; width= 1 height= 1 `).childNodes[0] as ...
  • mindplay-dk
  • 2
  • Opened 
    on Jan 6, 2022
  • #612

I ve examined the source code and see export default function render , and I understand the example code you give. If I implement the example in an ES module, I get the error message shown above, but if ...
  • robogeek
  • 6
  • Opened 
    on Dec 4, 2021
  • #576

Hey everyone! I ve found that this library is using domelementypes.root. For example in here https://github.com/cheeriojs/dom-serializer/blob/36e7bd414eca6429fb0e62ec038b7d9a2273f69b/src/index.ts#L141 ...
  • gbrlmtrz
  • 3
  • Opened 
    on May 11, 2021
  • #396

Got this error when migrating a node app that users cheerio to Typescript: Namespace /home/.../node_modules/domelementtype/lib/index .ElementType has no exported member Root . 70 constructor(type: ...
  • ivnnv
  • 3
  • Opened 
    on Jan 24, 2021
  • #302

Hi Team, Recently, we started to facing a issue in IE. Syntax Regular expression error. It happening due to the recent changes in entities. The introduced es6 for regex expression. So Please update entities ...
  • 2013it023
  • 1
  • Opened 
    on May 17, 2020
  • #98
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub