Vicent Marti
bebbebfc87
html: Revert "do not render line breaks between HTML tags"
...
This was not a good fix. There is plenty of HTML that would have been
parsed unproperly, e.g.
This is a simple example of <em>HTML</em>
that would have not been broken in two lines.
The proper fix is to always print line breaks instead of newlines, and
ensure that Sundown never inserts newlines when rendering span-level
elements, which is the case since the previous commit.
2011-08-01 16:03:32 +02:00
Vicent Marti
6f0b745604
html: More consistent newlines in the HTML output
2011-08-01 15:59:03 +02:00
Vicent Marti
a336c2684e
html: Do not force line breaks between HTML tags
2011-08-01 13:35:42 +02:00
Vicent Marti
581ed627d8
Update Binding names in the README
2011-07-29 18:57:10 +02:00
Vicent Marti
1d6f114b86
Sup bro
...
Add support for the Superscript extension.
2011-07-25 02:15:43 +02:00
Vicent Marti
72c9453882
Merge branch 'master' of github.com:tanoku/sundown
2011-07-24 23:29:23 +02:00
Vicent Martí
170a164b71
Merge pull request #49 from mattsta/master
...
Fixing a quick compile issue
2011-07-23 14:06:18 -07:00
Matt Stancliff
ce1c48aee6
Fix sdhtml_renderer call
...
The previous commit changed the function signature
without changing a call to the new function signature.
2011-07-23 11:31:08 -07:00
Vicent Marti
fe9e518b92
html: Add an extra payload to the renderer
2011-07-22 23:57:14 +02:00
Vicent Marti
7455702aaf
Fix fwrite
warning in sundown.c
2011-07-19 21:55:07 +02:00
Vicent Marti
251d02a260
i += 1 is boring
2011-07-19 21:45:38 +02:00
Vicent Marti
e3e2f5e53d
Fix invalid memory read in find_emph_char
2011-07-19 21:44:43 +02:00
Vicent Marti
cdfaee1993
smartypants: Do not replace inside <code> blocks
...
Following the original Smartypants code, do not do SmartyPants
replacements inside of <code>, <pre>, <kbd> and <script> blocks.
2011-07-19 21:32:14 +02:00
Vicent Marti
7cba7b6ba3
Add figure
as block-level tag
2011-07-19 20:45:11 +02:00
Vicent Marti
a580f7b2a0
smartypants: Normalize dash replacement
...
The original SmartyPants comes with three dash replacement modes:
1 => "--" for em-dashes; no en-dash support
2 => "---" for em-dashes; "--" for en-dashes
3 => "--" for em-dashes; "---" for en-dashes
Sundown now runs with number 2, because I am opinionated and I think
that the other 2 options are stupid.
2011-07-19 19:19:55 +02:00
Vicent Martí
20f58920dc
Merge pull request #44 from brandonc/fix-autolink-include-guard
...
Fix autolink.h include guard
2011-07-19 09:56:15 -07:00
Vicent Martí
525fcd9b62
Merge pull request #40 from jnovinger/master
...
Mispelling in the first <li> under features
2011-07-19 09:55:34 -07:00
Vicent Martí
8bd7e021cb
Merge pull request #42 from brandonc/rename-downblouse
...
rename downblouse to moonshine
2011-07-19 09:54:43 -07:00
Brandon Croft
3b8605f248
fix autolink.h include guard
2011-07-19 03:29:33 -06:00
Brandon Croft
19f74d98b8
rename downblouse to moonshine
2011-07-19 03:12:50 -06:00
Jason Novinger
1bf5cf0c86
Fixes a mispelling.
2011-07-19 03:03:14 -05:00
Vicent Marti
5d201dbcdc
Rename Upskirt to Sundown
...
It is by the goodness of God that in our country we have those
three unspeakably precious things:
freedom of speech,
freedom of conscience,
and the prudence never to practice either of them.
-- Mark Twain, Following the Equator (1897)
2011-07-19 01:10:05 +02:00
Vicent Martí
a87645ed92
Rename Pantyshot to Misaka
2011-07-04 18:22:47 -07:00
Vicent Martí
e1dcd5ddfd
Merge pull request #33 from chobie/master
...
add PHP bindings
2011-06-23 10:08:20 -07:00
Shuhei Tanuma
f12a5c5b22
add PHP bindings
2011-06-24 01:38:03 +09:00
Vicent Marti
3b0a641094
Dashes are allowed in domain names!
2011-06-19 20:58:36 +02:00
Vicent Marti
76fd65c396
autolink: Better domain name checker
2011-06-11 16:18:18 +02:00
Vicent Marti
cf5cb52ae9
Remove html_autolink.c
...
This file has been moved to Rinku
2011-06-11 16:17:51 +02:00
Vicent Marti
af491aad94
Use function callbacks instead of a switch
2011-06-09 16:31:22 +02:00
Vicent Marti
19115feb28
autolink: Support for link attributes
2011-06-09 15:15:34 +02:00
Vicent Marti
b3957282ce
autolink: Cleanup API
2011-06-09 02:58:06 +02:00
Vicent Marti
8af37fd1b4
autolinking: fix bugs
2011-06-08 23:11:58 +02:00
Vicent Marti
cbb7fb53c6
Create an autolinking API for external applications
2011-06-08 18:30:37 +02:00
Vicent Martí
2957e39acb
Merge pull request #29 from SamB/master
...
Lets make things more MinGW-friendly
2011-06-06 18:44:30 -07:00
Samuel Bronson
be552bafdc
Update Makefile and .gitignore to deal with smartypants.
...
... and get "make clean" to work under MSYS, too (*sigh*).
2011-06-05 14:55:08 -04:00
Samuel Bronson
dbc9d800ed
Tweaks to make things work better with MinGW.
2011-06-05 14:54:22 -04:00
Samuel Bronson
698f42f141
README.markdown: [Re-]wrap paragraphs to a somewhat decent width.
2011-06-05 14:52:25 -04:00
Vicent Marti
b51314a039
Add awesome .NET bindings
2011-06-03 00:18:01 +02:00
Vicent Marti
79e9a7ac36
More strict email autolinking
2011-06-02 23:54:52 +02:00
Vicent Marti
c631d97c11
Fix delimiter parsing in autolinking
2011-06-02 22:52:49 +02:00
Vicent Marti
268e9b411b
Autolinking bonanza
...
This autolinker is not only twice as fast, it also passes the Rails
autolinking test suite. Supports email addresses and autolinks without
`http://` prefix.
2011-06-02 21:17:28 +02:00
Krzysztof Kowalczyk
22ccf400a9
msvc fixes
2011-06-01 19:30:19 +02:00
Krzysztof Kowalczyk
7b56710f80
spelling fixes in comments
2011-06-01 19:29:54 +02:00
Vicent Marti
7408928cc8
Everybody's writing Go bindings!
2011-05-24 19:10:19 +03:00
Vicent Marti
beb7b68899
Run the Upskirt executable with no extensions
2011-05-22 15:45:49 +03:00
Vicent Martí
352fa31909
Merge pull request #20 from mcansky/master
...
just adding link to original project
2011-05-20 10:03:32 -07:00
mcansky
dc94a6f816
adding link to original project to allow a easier lookup
2011-05-20 10:03:40 +02:00
Vicent Marti
b1450fdf8f
Escape only the characters defined by the standard
...
ROCK ON MOTHERFUCKERS \m/
2011-05-20 03:57:30 +03:00
Vicent Marti
f20823e175
Even smarter autolink matching
2011-05-18 22:16:13 +03:00
Vicent Marti
2275e90888
Bump version number
2011-05-17 15:32:55 +03:00