Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

twiki2pod.pl: fixed the normal paragraph formating.

  • Loading branch information...
commit 0274750da3f6399b5568c110b19ce235cf37eb6b 1 parent fe7d5ed
@agentzh agentzh authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 twiki2pod.pl
View
14 twiki2pod.pl
@@ -27,6 +27,20 @@
}
print "\n\n=item *\n\n";
+
+ } else {
+ $new_level = 0;
+
+ if ($new_level == $level) {
+ # do nothing
+
+ } else {
+ # $new_level < $level
+ while ($new_level < $level) {
+ print "\n\n=back\n\n";
+ $level--;
+ }
+ }
}
s/\[\[([^]]+)\|[^]]+\]\]/$1/g;
Please sign in to comment.
Something went wrong with that request. Please try again.