lib/mutx/view/features/feature.mote in mutx-0.1.17 vs lib/mutx/view/features/feature.mote in mutx-0.1.18
- old
+ new
@@ -7,9 +7,9 @@
% content = IO.read("#{Dir.pwd}/#{feature_path}").gsub("\n\n\n","======#=====")
<div class="well">
% content.each_line do |line|
<div class="small">{{line.gsub("<","<").gsub(">",">").gsub('"',""").gsub("<","<<strong>").gsub(">","</strong>>").gsub(" "," ").gsub("======#=====","<br><br>")}}</div>
% end
- </pre>
+ </div>
% end
<!-- % content = IO.read("#{Dir.pwd}/#{feature_path}").each_line{|line| line.gsub("<","%LT&").gsub(">","%GT&").gsub("'","").gsub('"',"").gsub("\n","<br>")} -->
\ No newline at end of file