diff --git a/tools/website/drupal/mse-drupal-modules/autoformat.inc b/tools/website/drupal/mse-drupal-modules/autoformat.inc index c40ea2a7..951fafd8 100644 --- a/tools/website/drupal/mse-drupal-modules/autoformat.inc +++ b/tools/website/drupal/mse-drupal-modules/autoformat.inc @@ -157,6 +157,10 @@ function autoformat__handle(&$i, $prefix, $first, $fail_same = false) { $text .= $line . "\n"; $state = ''; + // Comment + } elseif (preg_match("@^//@", $line)) { + // ignore + // Just text } else if ($fail_same && $autoformat__lines[$i-1]{$len-1} != ' ' && $text != '') { // consecutive * and # lines are different items