2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-29 13:07:41 +00:00

31 Commits

Author SHA1 Message Date
Nurahmadie
b8efab6e15 Capture the original case from shortlinks 2012-05-18 23:06:41 +07:00
Nurahmadie
3c485e02c2 edogawaconan's patch. Less gsub call 2012-05-18 22:38:31 +07:00
Nurahmadie
482a5981f7 Ignore case for shortlinks 2012-05-18 22:12:12 +07:00
Nurahmadie
9aa1bc0891 Remove unnecessary temporary vars from regex usage 2012-05-18 21:51:53 +07:00
Nurahmadie
3245ccd4de Move CGI.escapeHTML 2012-05-18 21:28:38 +07:00
Nurahmadie
44728c9222 Validate ipv6, and lolttp style scheme. 2012-05-18 05:17:00 +07:00
Nurahmadie
f08448674d Don't catch whitespace for url pattern, update test 2012-05-16 06:01:21 +07:00
Nurahmadie
f6aa6bed03 Do escape link 2012-05-16 05:38:28 +07:00
Nurahmadie
4a7b66848c Fix wrong parameter, update test to check this. 2012-05-16 04:45:21 +07:00
Nurahmadie
691568c874 add head and tail whitespace for <<link|name>> pattern 2012-05-16 04:38:50 +07:00
Nurahmadie
d0fca5fed8 Match start and end of line. 2012-05-16 04:34:30 +07:00
Nurahmadie
97b9f463b2 Remove <li> for nested <ul> 2012-05-16 01:55:30 +07:00
Nurahmadie
6ef3b81b97 Make it work with rails 2012-05-16 01:26:30 +07:00
Nurahmadie
8cd98deb7c Hopefully backward-compatible with the original dtext. 2012-05-16 01:01:23 +07:00
Nurahmadie
3780980b4c Now we have parse url 2012-05-16 00:32:02 +07:00
Nurahmadie
7f75fdbd5d Add links and quote parsing 2012-05-14 04:31:12 +07:00
Nurahmadie
69928de9d4 Should be lazy 2012-05-13 22:38:58 +07:00
Nurahmadie
8671a973ee Fix nested list leveling 2012-05-13 18:20:15 +07:00
Nurahmadie
c79595d498 Remove parseparagraph 2012-05-13 16:32:12 +07:00
Nurahmadie
7e3cc78aed Remove pretty format for test, it fails anyway.
Also remove <p> from test file
2012-05-13 16:15:04 +07:00
Nurahmadie
2e34b72879 Fix state check for list 2012-05-13 15:17:17 +07:00
Nurahmadie
1dfdd0c88a Use string for all the state 2012-05-13 14:57:31 +07:00
Nurahmadie
9cdf5050e6 move CGI.escapeHTML back to parseinline 2012-05-13 14:53:33 +07:00
Nurahmadie
7be0c883a6 Change <em> and <strong> parsing format
Also move CGI.escapeHTML to parse
2012-05-13 14:40:39 +07:00
Nurahmadie
ddad5273cf Use <strong> as per html5 spec 2012-05-13 14:33:00 +07:00
Nurahmadie
661f9f168a Add whitespace 2012-05-13 14:30:44 +07:00
Nurahmadie
19c6cad685 do parseinline for list item 2012-05-13 09:30:00 +07:00
Nurahmadie
a8b289f523 implement Dtext 2012-05-13 08:22:42 +07:00
Nurahmadie
b4a9a5f0e2 Add carriage return 2012-05-12 01:15:50 +07:00
Nurahmadie
8d20fda95b Use carriage return for line split 2012-05-10 12:35:11 +07:00
Nurahmadie
2755a1673e Repo init, Dtext re-implementation attempt. 2012-05-09 11:59:21 +07:00