rolux
|
3cbacd85ff
|
cosmetic changes
|
2013-11-11 14:17:39 +01:00 |
|
rolux
|
85ef28078b
|
update Ox.encodeEmailAddress
|
2013-11-11 14:17:09 +01:00 |
|
j
|
fee4339d11
|
rewrite sanitizeHTML to support global attributes
|
2013-11-10 21:59:36 +00:00 |
|
rolux
|
25a5b9d712
|
cosmetic changes
|
2013-11-08 18:56:29 +01:00 |
|
j
|
42fa5a7a3c
|
minify does not like comments without comment
|
2013-10-25 12:38:11 +00:00 |
|
j
|
e6eb5ea1c7
|
allow iframes
|
2013-10-24 16:39:26 +00:00 |
|
j
|
0c76680864
|
add more html5 tags, fixes #1444
|
2013-08-27 08:52:22 +00:00 |
|
rolux
|
4950898b34
|
some more tabs to spaces
|
2013-06-02 22:19:36 +02:00 |
|
rolux
|
89408bd4be
|
fix <a> regexp to allow for href="/"
|
2013-02-27 16:27:44 +05:30 |
|
rolux
|
5227dbc166
|
in Ox.sanitizeHTML, when passing an array of replaceTags tuples, allow for the second element of that tuple to be a replace function (not just a string)
|
2013-02-16 12:39:16 +05:30 |
|
rolux
|
3cdaebadee
|
Ox.sanitizeHTML: add replaceTags option
|
2013-02-15 18:01:28 +05:30 |
|
rolux
|
bed08786a1
|
fix dependencies
|
2012-09-04 00:45:43 +02:00 |
|
rolux
|
863ddfeafa
|
remove an onload dependency
|
2012-09-03 21:11:57 +02:00 |
|
rolux
|
966ceeb1f1
|
Ox.parseMarkdown: don't make replacements inside code spans/blocks; Ox.sanitizeHTML: add (failing) test; remove unneccessary escaping inside [] in regular expressions
|
2012-06-24 15:37:46 +02:00 |
|
rolux
|
4b0a07387f
|
fix a bug in parseMarkdown, add tests
|
2012-06-23 13:30:33 +02:00 |
|
rolux
|
ec4c46cb6c
|
Ox.sanitizeHTML: include 'em' and 'strong' in default tags (otherwise sanitizing markdown fails)
|
2012-06-23 12:48:17 +02:00 |
|
rolux
|
e54be15936
|
Ox.sanitizeHTML: add test
|
2012-06-22 10:29:09 +02:00 |
|
rolux
|
8ccabb349e
|
Ox.sanitizeHTML: decode html entities before encoding html entities; Ox.parseMarkdown: encode '<' in code spans and code blocks
|
2012-06-22 10:24:25 +02:00 |
|
rolux
|
c3d51860c3
|
update markdown parser and css
|
2012-06-20 09:23:39 +02:00 |
|
rolux
|
996f41c06b
|
move Ox.stripTags from String.js to HTML.js
|
2012-06-18 19:11:17 +02:00 |
|
rlx
|
898cc702f5
|
highlight: several bugfixes and performance improvements; normalizeHTML: only use dom if needed
|
2012-06-16 20:45:05 +00:00 |
|
rlx
|
3fc8a47bf4
|
return original string when highlight is called without query; lazy format annotation date
|
2012-06-16 16:17:28 +00:00 |
|
j
|
53966f3f53
|
fix Ox.sanitzeHTML if urls are inside an open a tag
|
2012-06-16 13:16:30 +02:00 |
|
rolux
|
1249e7d3a1
|
comment out description
|
2012-06-11 23:45:53 +02:00 |
|
rolux
|
a5c6747b57
|
change the signature of Ox.pad to match Ox.truncate
|
2012-06-04 11:08:38 +02:00 |
|
rolux
|
90147a69fb
|
rename Ox.highlightHTML to Ox.highlight
|
2012-06-03 10:40:46 +02:00 |
|
rolux
|
73fa856900
|
in documentation use foo , not <code>foo</code>
|
2012-06-02 13:06:44 +02:00 |
|
rolux
|
bd5a4b6318
|
Ox.parseMarkdown: in code spans or block, encode '>'
|
2012-06-02 12:51:59 +02:00 |
|
rolux
|
23af95b611
|
correct documentation
|
2012-06-02 11:19:54 +02:00 |
|
rolux
|
3683bf3d29
|
refactor HTML module; add functionality to Ox.parseMarkdown; add tests
|
2012-05-31 00:47:19 +02:00 |
|
rolux
|
bff20cd96a
|
in parseMarkdown, don't write empty class for code blocks, and don't encode their content
|
2012-05-30 19:21:59 +02:00 |
|
rolux
|
07369fefec
|
add Ox.parseMarkdown and Ox.encodeEmailAddress
|
2012-05-30 13:32:33 +02:00 |
|
rolux
|
b9f7490436
|
improve test
|
2012-05-27 21:32:08 +02:00 |
|
rolux
|
707899b61c
|
add test
|
2012-05-27 13:42:55 +02:00 |
|
rolux
|
ccae6e4997
|
reorder regexp, add test
|
2012-05-27 13:40:19 +02:00 |
|
rolux
|
cc29f8f832
|
in Ox.sanitizeHTML, allow mailto: links
|
2012-05-27 13:28:08 +02:00 |
|
rolux
|
17983efc47
|
in Ox.sanitizeHTML, fix a bug with adding links
|
2012-05-27 13:11:49 +02:00 |
|
rolux
|
b93750e325
|
replace Ox.parseEmailAddresses and Ox.parseURLs with Ox.addLinks; rename Ox.parseHTML to Ox.sanitizeHTML; add Ox.normalizeHTML; update Ox.encodeHTMLEntities and Ox.decodeHTMLEntities so that they also cover the previous Ox.encodeHTML and Ox.decodeHTML
|
2012-05-27 12:36:16 +02:00 |
|
rolux
|
e47f826329
|
minor cleanup
|
2012-05-25 13:42:33 +02:00 |
|
j
|
7138a8eaa0
|
add tests
|
2012-05-23 22:23:32 +02:00 |
|
j
|
1b08732fa7
|
- add loadAsync and use in Ox.loadFile, Ox.getJSON
- add Ox.getJSONP
- fix Ox.parseHTML
- fix Ox.Doc
- add more documentation
|
2012-05-23 01:17:17 +02:00 |
|
j
|
b12099a9d7
|
support h1-h6, fixes #516
|
2012-02-18 15:40:41 +00:00 |
|
j
|
a976b674f4
|
- allow links to local images
- allow wiki links to local urls
- disable automatic url / email linking since its broken right now
|
2012-02-11 17:49:25 +05:30 |
|
j
|
21854f653e
|
do not shorten urls, just turn them into links
|
2012-02-10 15:22:09 +05:30 |
|
j
|
7475ef0124
|
fix Ox.Edidable textarea height, dont add title to links in parseHTML
|
2012-01-19 22:07:39 +05:30 |
|
rlx
|
408ebf54cb
|
update video editor (editables)
|
2012-01-16 16:52:34 +05:30 |
|
rolux
|
f76ee0cf36
|
minor changes in OxJS
|
2012-01-06 17:27:54 +05:30 |
|
rolux
|
b77852296b
|
misc fixes
|
2012-01-02 19:35:14 +05:30 |
|
rolux
|
34753cb2ed
|
misc updates; add geo demo
|
2011-12-31 18:27:02 +05:30 |
|
rolux
|
56370aa0a7
|
'use strict';
|
2011-11-05 17:46:53 +01:00 |
|