Browse Source

html2plain: changed behaviour for the "hr" element.

pull/238/head
Michael Vogel 9 years ago
parent
commit
fe257a2032
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/html2plain.php

+ 1
- 1
include/html2plain.php View File

@ -157,7 +157,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
//node2bbcode($doc, 'ol', array(), "\n[list=1]", "[/list]\n");
node2bbcode($doc, 'li', array(), "\n* ", "\n");
node2bbcode($doc, 'hr', array(), str_repeat("-", 70), "");
node2bbcode($doc, 'hr', array(), "\n".str_repeat("-", 70)."\n", "");
node2bbcode($doc, 'tr', array(), "\n", "");
node2bbcode($doc, 'td', array(), "\t", "");


Loading…
Cancel
Save