Commit 4ac9005e authored by Michael Witrant's avatar Michael Witrant

extension mediawiki

parent 1dc02c07
...@@ -25,7 +25,7 @@ sections = data.scan(%r(<Amend>.+?</Amend>)m) ...@@ -25,7 +25,7 @@ sections = data.scan(%r(<Amend>.+?</Amend>)m)
template = ERB.new File.read('template.erb'), nil, '-' template = ERB.new File.read('template.erb'), nil, '-'
File.open "result.txt", "w" do |f| File.open "result.mediawiki", "w" do |f|
sections.each do |xml| sections.each do |xml|
doc = Nokogiri::XML(xml) doc = Nokogiri::XML(xml)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment