redcarpet 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of redcarpet might be problematic. Click here for more details.

data/ext/xhtml.c CHANGED
@@ -170,9 +170,9 @@ rndr_double_emphasis(struct buf *ob, struct buf *text, char c, void *opaque)
170
170
  return 0;
171
171
 
172
172
  if (c == '~') {
173
- BUFPUTSL(ob, "<span style=\"text-decoration:line-through;\">");
173
+ BUFPUTSL(ob, "<del>");
174
174
  bufput(ob, text->data, text->size);
175
- BUFPUTSL(ob, "</span>");
175
+ BUFPUTSL(ob, "</del>");
176
176
  } else {
177
177
  BUFPUTSL(ob, "<strong>");
178
178
  bufput(ob, text->data, text->size);
data/lib/redcarpet.rb CHANGED
@@ -26,7 +26,7 @@
26
26
  # end
27
27
  #
28
28
  class Redcarpet
29
- VERSION = '1.8.1'
29
+ VERSION = '1.8.2'
30
30
 
31
31
  # Original Markdown formatted text.
32
32
  attr_reader :text
data/redcarpet.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'redcarpet'
3
- s.version = '1.8.1'
3
+ s.version = '1.8.2'
4
4
  s.summary = "Ruby bindings for libupskirt"
5
5
  s.description = 'A fast and safe Markdown to (X)HTML parser'
6
- s.date = '2011-04-17'
6
+ s.date = '2011-04-18'
7
7
  s.email = 'vicent@github.com'
8
8
  s.homepage = 'http://github.com/tanoku/redcarpet'
9
9
  s.has_rdoc = true
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redcarpet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
- - 1
10
- version: 1.8.1
9
+ - 2
10
+ version: 1.8.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Natacha Port\xC3\xA9"
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-17 00:00:00 +03:00
19
+ date: 2011-04-18 00:00:00 +03:00
20
20
  default_executable:
21
21
  dependencies: []
22
22