Commit Graph

18 Commits

Author SHA1 Message Date
Maxime Bourget
3fecebd5ba Allows more that one space between css selector.
This is needed to support addToken_ workaround before the fix.
Before the fix, an extra space was needed in the selector like this

example:

    addToken "form.foo "

With the fix adding the missing space, code already adding a space
will end up with two spaces between the scope selector and the input one :

    form.foo  input[name=token_]
2016-04-11 21:58:50 +01:00
Maxime Bourget
62fc67a444 Fix addToken_ needing a trailing space to work.
The fix can add spaces in place where none or only one where expected.
The css parser has been modified to remove trailing or multiple spaces.
This might be a bit more lax that official CSS spec.
2016-04-11 21:15:27 +01:00
Erik de Castro Lopo
d31e2d0988 yesod-test : Fix two more CssQuery parser problems.
Closes #834
2014-10-02 21:26:24 +10:00
Erik de Castro Lopo
58bf5223c0 yesod-test : Fix parsing of descendent selector in CSS query parser.
Closes #834
2014-10-01 06:24:57 +10:00
Erik de Castro Lopo
581a688cf5 yesod-test: Improve CSS selector parser.
* Tighten up what the parser will accept (especially wrt identifiers).
* Write the parser in a more idiomatic (for *parsec) style.
2014-09-17 10:24:57 +10:00
Michael Snoyman
ba8706429a Make yesod-test integrate better with hspec 2013-04-02 16:32:40 +03:00
Michael Snoyman
bc8e4b0588 Minor yesod-test fixes 2012-08-03 11:31:35 +03:00
Michael Snoyman
debbdc4aed Removed HtmlParse 2012-07-09 13:40:24 +03:00
Michael Snoyman
ebc737a5cb conduit 0.5 2012-06-22 15:28:14 +03:00
Michael Snoyman
f8c731534c yesod-test: use html-conduit 2012-05-09 10:37:19 +03:00
Michael Snoyman
2a4747cd36 yesod-test: blaze-html 0.5 2012-04-23 16:06:37 +03:00
Michael Snoyman
7c65829f03 Fix some warnings 2012-03-29 08:44:01 +02:00
Michael Snoyman
690b017f02 Get everything to build 2012-03-29 07:45:04 +02:00
Michael Snoyman
1c28ca8744 Initial migration to xml-conduit 2012-03-28 09:14:43 +02:00
Michael Snoyman
940c1dddcd Parse HTML to an XML document via xml-conduit 2012-03-28 08:43:36 +02:00
Michael Snoyman
0201415b05 Migrated yesod-test to attoparsec 2012-03-28 08:14:51 +02:00
Michael Snoyman
a3e27a3d57 Started yesod-test test suite (yo dawg...) 2012-03-28 08:03:47 +02:00
Nubis
b13a3d3858 integrated yesod tests to scaffolder. still work in progress 2012-03-16 23:21:45 -07:00