If I mistakenly use an html 1.0 tag in a wiki page such as:
<br>
instead of the proper xhtml tag:
<br/>
then olelo hangs in tag.rb. A quick fix that keeps olelo from hanging (but unfortunately does not infer what the user meant):
diff --git a/plugins/filter/tag.rb b/plugins/filter/tag.rb
index 2613ed8..d2ec8a7 100644
--- a/plugins/filter/tag.rb
+++ b/plugins/filter/tag.rb
@@ -95,7 +95,7 @@ class TagSoupParser
def get_content
stack = [@name]
text = ''
- while !stack.empty?
+ while !stack.empty? and !@content.empty?
case @content
# Tag begins
when /\A<(#{NAME})/
If I mistakenly use an html 1.0 tag in a wiki page such as:
<br>
instead of the proper xhtml tag:
<br/>
then olelo hangs in tag.rb. A quick fix that keeps olelo from hanging (but unfortunately does not infer what the user meant):