Skip to content

Commit

Permalink
fix more error about here document in category plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
tdtds committed Nov 16, 2016
1 parent 297d490 commit 745b86b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc/plugin/category-legacy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def categorize_diary(diary)
idx = 1
diary.each_section do |s|
body = <<-EVAL
text = apply_plugin(s.body_to_html.dump, true)
apply_plugin(#{s.body_to_html.dump}, true)
EVAL
shorten = begin
@conf.shorten(eval(body.untaint, @binding))
Expand Down
2 changes: 1 addition & 1 deletion misc/plugin/category.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def category_serialize(diary)
idx = 1
diary.each_section do |s|
body = <<-EVAL
text = apply_plugin(s.body_to_html.dump, true)
apply_plugin(#{s.body_to_html.dump}, true)
EVAL
shorten = begin
@conf.shorten(eval(body.untaint))
Expand Down

0 comments on commit 745b86b

Please sign in to comment.