From 1b308b912f01238402b2ddd2a5c561c6e7ecceec Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 22 Dec 2014 16:09:19 -0800 Subject: [PATCH 1/3] remove duplicated keys --- lib/org-ruby/html_symbol_replace.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/org-ruby/html_symbol_replace.rb b/lib/org-ruby/html_symbol_replace.rb index a5f167c..0cae132 100644 --- a/lib/org-ruby/html_symbol_replace.rb +++ b/lib/org-ruby/html_symbol_replace.rb @@ -202,7 +202,6 @@ module Orgmode "prod" => "∏", "micro" => "µ", "macr" => "¯", - "deg" => "°", "prime" => "′", "Prime" => "″", "infin" => "∞", @@ -311,7 +310,6 @@ module Orgmode "sec" => "sec", "sin" => "sin", "sinh" => "sinh", - "sup" => "⊃", "tan" => "tan", "tanh" => "tanh", "bull" => "•", From 98b2313efc81e8191a21a88249de913c96b041d5 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 22 Dec 2014 16:10:23 -0800 Subject: [PATCH 2/3] remove duplicated keys --- lib/org-ruby/textile_symbol_replace.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/org-ruby/textile_symbol_replace.rb b/lib/org-ruby/textile_symbol_replace.rb index a453bb4..749c124 100644 --- a/lib/org-ruby/textile_symbol_replace.rb +++ b/lib/org-ruby/textile_symbol_replace.rb @@ -292,7 +292,6 @@ module Orgmode "cot" => "cot", "coth" => "coth", "csc" => "csc", - "deg" => "deg", "det" => "det", "dim" => "dim", "exp" => "exp", @@ -312,7 +311,6 @@ module Orgmode "sec" => "sec", "sin" => "sin", "sinh" => "sinh", - "sup" => "sup", "tan" => "tan", "tanh" => "tanh", "bull" => "•", From 45dea6ba4ddd126948a7309ab57b9813e6bf4576 Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Mon, 22 Dec 2014 20:53:55 -0500 Subject: [PATCH 3/3] Update output example (fixes #27) --- spec/markdown_examples/entities.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/markdown_examples/entities.md b/spec/markdown_examples/entities.md index 806be68..b007d72 100644 --- a/spec/markdown_examples/entities.md +++ b/spec/markdown_examples/entities.md @@ -239,7 +239,7 @@ bundle exec ruby /tmp/print_entities.rb * Writing `\prod`, results in: ∏ * Writing `\micro`, results in: µ * Writing `\macr`, results in: ¯ - * Writing `\deg`, results in: deg + * Writing `\deg`, results in: ° * Writing `\prime`, results in: ′ * Writing `\Prime`, results in: ″ * Writing `\infin`, results in: ∞ @@ -268,7 +268,7 @@ bundle exec ruby /tmp/print_entities.rb * Writing `\ge`, results in: ≥ * Writing `\sub`, results in: ⊂ * Writing `\subset`, results in: ⊂ - * Writing `\sup`, results in: sup + * Writing `\sup`, results in: ⊃ * Writing `\supset`, results in: ⊃ * Writing `\nsub`, results in: ⊄ * Writing `\sube`, results in: ⊆