Commit Graph

221 Commits (cd3adb671ce6b170aa23c1b1874ecd07be1b3f69)

Author SHA1 Message Date
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
John Benediktsson aeeaaec17d html.parser.printer: some improvements to text-printer.
- collapse spaces except within preformatted tags
- ignore <script> and <style> tags
- don't print dtd tags
2016-11-13 13:48:19 -08:00
John Benediktsson b4085d0f8a html.parser.printer: updated test. 2016-11-12 07:56:55 -08:00
John Benediktsson 78310744bd html.parser.printer: indent blockquote in text-printer. 2016-11-12 07:49:09 -08:00
John Benediktsson c1cdc2318f html.parser.printer: use with-variables instead of with-scope. 2016-11-10 15:39:12 -08:00
John Benediktsson 9d1edc62c7 html.parser.printer: tagstack isn't used here. 2016-11-10 14:52:18 -08:00
John Benediktsson d0ae3275b1 html.entities: fix &quot; unescape; 2016-11-10 14:22:08 -08:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 6af99c3c21 Fix "doesnt" typo. 2016-02-26 08:56:25 -08:00
John Benediktsson 9a5cd7d13d html.entities: cleanup using. 2015-09-29 12:16:44 -07:00
John Benediktsson 08051d9ba8 html.entities: faster html-escape by going through string once. 2015-09-29 12:15:00 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
John Benediktsson 41629dce2f Fix some things broken by hashtable capacity changes. 2015-07-14 21:45:39 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 5cc7bfb067 html.parser.printer: add helper words with string output. 2015-04-20 09:31:40 -07:00
Doug Coleman 6dac68d593 html.parser: Strip trailing slashes / in html tags. Add unit test. Fixes #1233. 2014-11-30 09:33:39 -06:00
John Benediktsson 761be328a6 extra: using "swap index". 2014-11-29 11:25:42 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson 5f1c6151dc extra: use bl when possible instead of ``" " write``. 2014-06-04 09:10:36 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 0b390cc6f2 html.entities: switch to using re-replace-with. 2014-05-18 13:48:35 -07:00
John Benediktsson d27fa562e8 html.entities: minor refactor for clarity. 2014-04-23 21:30:46 -07:00
John Benediktsson 5373a985d7 html.entities: adding some examples to the docs. 2014-04-22 15:51:25 -07:00
John Benediktsson c6de3e9967 html.entities: fix minor doc error. 2014-04-22 14:37:55 -07:00
John Benediktsson 4d7ace5531 html.entities: simpler re-charref. 2014-04-21 22:35:31 -07:00
John Benediktsson bcb14d7a22 html.entities: add a test to show "&amp". 2014-04-21 20:43:04 -07:00
John Benediktsson f5aa41c0ce html.entities: slightly better (looking) docs. 2014-04-21 19:19:14 -07:00
John Benediktsson 0d3956fa7c html.entities: reference the table in the w3 specs. 2014-04-21 19:15:55 -07:00
John Benediktsson e79bb8f6e4 html.entities: adding better HTML 5 escaping. 2014-04-21 19:03:59 -07:00
John Benediktsson 70fd2ebf52 html.parser.util: removing incomplete html escaping. 2014-04-21 19:03:48 -07:00
John Benediktsson 91119d87f4 html.parser.utils: adding a simple html escape/unescape. 2014-04-21 16:59:38 -07:00
John Benediktsson 03b7e67547 fix some help-lint errors. 2014-03-12 20:08:15 -07:00
John Benediktsson 6ecb291710 html.parser.analyzer: cleanup, fix find-by-class-id-between. 2014-02-17 15:17:24 -08:00
Björn Lindqvist 3c53214b43 html.parser.analyzer: when matching on classname, check that the tag has the given class 2014-02-15 14:56:56 -08:00
Doug Coleman 7fb1fc97ec html.parser.analyzer: Add javascript links. Clean up some code. 2013-12-07 11:43:32 -08:00
John Benediktsson 435f54cf59 http.client: use new http-get* word. 2013-10-12 10:25:42 -07:00
John Benediktsson 05f3092b9b html.parser.printer: don't print comments. 2013-10-11 11:51:46 -07:00
John Benediktsson 8086746ac2 html.parser.analyzer: use same vocab for docs. 2013-10-11 11:51:33 -07:00
John Benediktsson dba072e9f2 html.parser.printer: some tweaks to the text-printer for my blog. 2013-09-05 21:00:53 -07:00
John Benediktsson 9aeb3b9579 html.parser.printer: fix tests, need to decrement before writing. 2013-08-05 11:22:09 -07:00
John Benediktsson 8aae6a68a6 html.parser.printer: prevent negative indentations. 2013-08-05 09:56:44 -07:00