floki icon indicating copy to clipboard operation
floki copied to clipboard

Floki is a simple HTML parser that enables search for nodes using CSS selectors.

Results 46 floki issues
Sort by recently updated
recently updated
newest added

## Description Floki doesn't support selectors with escaped colons in them, probably it's mixing them up with pseudo selectors ## To Reproduce Steps to reproduce the behavior: - Using Floki...

Bug

## Feature goal Would you be interested in a PR that made these configurable. They would stay like this unless someone overwrote some application layer config. https://github.com/philss/floki/blob/61cd7126c3486c4f857fc7f7a82405dcabf25df0/lib/floki/raw_html.ex#L4-L21 ## Dependencies None

Feature

## Description According to [HTML5 spec](https://www.w3.org/TR/2011/WD-html5-20110405/tokenization.html#closing-elements-that-have-implied-end-tags), closing `` tag is optional. ie: ``` html p1 p2 ``` is equivalent to: ```html p1 p2 ``` However, Floki with the builtin parser...

Bug

## Feature goal Include the values of `` elements in `Floki.text/2`. This would be helpful for making assertions on pages that have edit forms: ```elixir test "the form is prefilled...

Feature

## Description The contents of an html template fail to be included in the resulting parsed structure, thus resulting in an empty template. ## To Reproduce Steps to reproduce the...

Bug

## Feature goal Extend `fl-contains` to mach on children text as well. ```elixir "Some" |> Floki.parse_document!() |> Floki.find("div:fl-contains('Some')") |> IO.inspect(label: :first) # Output: first: [{"div", [], ["Some"]}] "Some" |> Floki.parse_document!()...

Feature

## Feature goal When one wishes server-side to return processed elements selectors that the browser can use. Example: **find and replace text mechanism**: at first it makes sense to only...

Feature

## Description Mochiweb Floki will produce different output than html5ever, namely, the output of `Floki.parse` will be wrapped in `...` ## To Reproduce Steps to reproduce the behavior: - Using...

Bug

Actual results: ```elixir Floki.parse("5 = 5") [{"span", [], ["5"]}, {"span", [], ["="]}, {"span", [], ["5"]}] ``` Expected results: ```elixir Floki.parse("5 = 5") # or Floki.parse("5 = 5", remove_text_nodes_with_whitespaces: false) [{"span",...

Bug

Floki needs a HTML parser built in, in order to remove the [mochiweb](https://github.com/mochi/mochiweb) dependency. This will enable more flexibility and better control of the parsing step. The parser goals are:...

Feature
Level:Advanced