Paolo Veronelli
c7c6711f32
export tag parser
2020-10-28 10:17:58 +01:00
Alp
62f5d5530d
Merge pull request #25 from seereason/master
...
Fix invalid rendering of void elements like br
2020-06-17 22:34:07 +02:00
David Fox
ce2702e43d
Dependency on containers
2020-06-04 13:29:56 -07:00
David Fox
aa009d856b
Handle all html void elements, not just br
2020-06-04 13:19:20 -07:00
David Fox
a43c075029
Remove old version of end
2020-06-04 12:54:28 -07:00
David Fox
425f36c531
Do not create close tags for br elements
2020-06-04 12:40:31 -07:00
Alp Mestanogullari
1fd196fbb1
Merge pull request #23 from tdammers/master
...
Handle implicitly closed tags in domify
2019-01-24 22:35:11 +01:00
Tobias Dammers
1f0ded8353
Retain whitespace nodes between tags
2019-01-14 10:07:00 +01:00
Tobias Dammers
6adf687ea6
Ignore .ghc.environment.*
2019-01-14 10:06:40 +01:00
Tobias Dammers
c61e68db55
Handle omitted closing tags in domify.
2019-01-10 23:39:54 +01:00
Tobias Dammers
a490590bc3
Cabal file cleansing
2019-01-10 21:14:31 +01:00
Tobias Dammers
ea6d4e747c
Some refactoring
2019-01-10 21:14:00 +01:00
Tobias Dammers
9e41f61439
Failing unit tests for implicitly closed tags in domify
2019-01-10 17:17:11 +01:00
Alp Mestanogullari
05575178af
silence some cabal warnings
2017-12-21 11:18:10 +01:00
Alp Mestanogullari
4c41c725f3
bump to 0.2.1
2017-12-21 11:12:11 +01:00
vi
5456c2fa4d
Build compatability with blaze-markup 0.8.0.0.
...
Resolves #19 .
Resolves #20 .
2017-07-28 19:00:23 +02:00
vi
aa195dfa14
stack junk
2017-07-28 18:59:39 +02:00
^C^C^C^C^C
a9b080068f
Merge pull request #13 from bergmark/patch-1
...
Needs GHC >= 7.6 due to use of LambdaCase
2015-06-26 06:10:03 +08:00
Adam Bergmark
c67fd5f5d4
Needs GHC >= 7.6 due to use of LambdaCase
2015-06-25 23:44:51 +02:00
Alp Mestanogullari
5e9c467239
code cleanup
2015-06-23 18:42:34 +02:00
vi
efbbaa4315
Deprecated Text.Taggy.Combinators; use taggy-lens instead.
2015-05-09 23:39:08 +08:00
Alp Mestanogullari
e17889e109
Merge pull request #10 from joneshf/master
...
Allow compilation with 7.10.
2015-05-08 15:32:31 +01:00
joneshf
367c3d33bb
Allow compilation with 7.10.
...
`elem` moved to `Foldable` so with the `OverloadedStrings`,
type signatures are needed.
2015-05-06 19:12:28 -07:00
vi
9013b491a9
Fixed README documentation references.
...
Prompted by <https://github.com/alpmestan/taggy-lens/issues/2 >.
2015-03-12 09:44:08 +00:00
Alp Mestanogullari
6d318295b1
add agda page in tests, bump version
2015-02-26 15:39:05 +01:00
Alp Mestanogullari
af4de67540
be more permissive with spaces within closing tags
2015-02-26 15:37:10 +01:00
Alp Mestanogullari
50ffc16541
accept <? and ?>, useful for parsing XML, especially sitemaps. bump version
2015-01-06 15:55:02 +01:00
vi
c0c5646df3
Use HQ nixpkgs, which now includes a /homeless-shelter/ fix.
2014-09-06 02:38:26 +08:00
Alp Mestanogullari
b9df6e468d
Merge pull request #8 from alpmestan/nix
...
Added a nix derivation, intended for the shell.
2014-09-04 09:47:08 +02:00
vi
272ad3852c
Added a nix derivation, intended for the shell.
2014-09-04 06:21:58 +08:00
vi
7415647682
Bump version to 0.1.2
2014-07-25 18:27:19 +08:00
vi
1e68aba60e
Remove -Werror.
2014-07-25 17:36:00 +08:00
vi
35c7636f0e
Lenient attribute parser: non-empty sequence of any charatcter but [>=].
2014-07-25 17:30:02 +08:00
vi
f56acd06e4
A test suite to validate a successful parse on each html_files/*html.
2014-07-25 17:27:50 +08:00
vi
986af3de9f
(Forgivingly) permit semicolons in attribute names..
2014-07-25 15:12:02 +08:00
vi
c2ed0062d0
Don't choke on trailing newlines.
2014-07-25 14:22:34 +08:00
vi
9f9480c049
(Forgivingly) permit ["/.] in attribute names.
2014-07-25 13:47:57 +08:00
vi
9880f64013
'Text.Taggy.Parser.tagtext' should always consume input or fail:
...
The 'takeTill' combinator always passes, and will return an empty string
if the predicate passes on the first character of input.. this can lead
to infinite loops in the context of 'run'.. Instead use 'takeWhile1'
with the negation of the predicate.
2014-07-25 13:02:13 +08:00
Alp Mestanogullari
cc96a7cf6e
version bump
2014-07-18 23:44:59 +02:00
Alp Mestanogullari
ed4f798288
add a test for tagnames with a dot in them and fix a previous test. fixes #7
2014-07-18 23:42:07 +02:00
Alp Mestanogullari
ed8d9f1644
make the parser accept tag names with .'s in them
2014-07-18 23:37:12 +02:00
Alp Mestanogullari
cffac61436
fix cabal description
2014-07-08 10:07:59 +02:00
Alp Mestanogullari
e63081dfdf
one last cabal file tweak before release
2014-07-08 09:41:40 +02:00
Alp Mestanogullari
c6a5b9c855
add vi in Authors
2014-07-08 08:53:57 +02:00
Alp Mestanogullari
61585002ea
set version to 0.1 and doc tweak
2014-07-08 08:51:35 +02:00
Alp Mestanogullari
7fdf455908
add a (test) spec for the entity conversion module -- it checks the behavior on named html entities and (decimal and hexadecimal) numeric html entities
2014-07-08 08:47:18 +02:00
Alp Mestanogullari
cfbc080c24
minor cabal file tweak
2014-07-08 08:30:32 +02:00
Alp Mestanogullari
20c45941ee
convert numeric html entities too. fixes #6
2014-07-08 08:30:32 +02:00
vi
66b05584b7
Permissively parse malformed closing tags, specifically those missing ">".
2014-07-06 17:31:27 +08:00
Alp Mestanogullari
297c7d477c
add haddocks in Parser module
2014-07-01 14:22:43 +02:00