sync with current Go (gofix go1rename, error)

This commit is contained in:
Michael Teichgräber 2011-11-18 18:25:39 +01:00
parent 18aa4e492b
commit d265ac0f21

View File

@ -20,17 +20,16 @@ package markdown
// HTML output functions
import (
"os"
"fmt"
"log"
"rand"
"math/rand"
"strings"
)
type Writer interface {
WriteString(string) (int, os.Error)
WriteRune(int) (int, os.Error)
WriteByte(byte) os.Error
WriteString(string) (int, error)
WriteRune(int) (int, error)
WriteByte(byte) error
}
type htmlOut struct {
@ -76,7 +75,6 @@ func (w *htmlOut) s(s string) *htmlOut {
return w
}
/* print string, escaping for HTML
* If obfuscate selected, convert characters to hex or decimal entities at random
*/
@ -231,7 +229,6 @@ func (w *htmlOut) elem(elt *element, obfuscate bool) *htmlOut {
return w
}
func (w *htmlOut) printEndnotes() {
counter := 0