parent
1fe51768f0
commit
95d3f9ebe1
|
@ -73,7 +73,7 @@ func _markdownParse(msg string, n int) string {
|
||||||
var outbytes []byte
|
var outbytes []byte
|
||||||
var lastElement int
|
var lastElement int
|
||||||
breaking := false
|
breaking := false
|
||||||
c.DebugLogf("Initial Message: %+v\n", strings.Replace(msg, "\r", "\\r", -1))
|
//c.DebugLogf("Initial Message: %+v\n", strings.Replace(msg, "\r", "\\r", -1))
|
||||||
|
|
||||||
for index := 0; index < len(msg); index++ {
|
for index := 0; index < len(msg); index++ {
|
||||||
simpleMatch := func(char byte, o []byte, c []byte) {
|
simpleMatch := func(char byte, o []byte, c []byte) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ type MEPairList struct {
|
||||||
Items []MEPair
|
Items []MEPair
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l *MEPairList) Add(msg string, expects string) {
|
func (l *MEPairList) Add(msg, expects string) {
|
||||||
l.Items = append(l.Items, MEPair{msg, expects})
|
l.Items = append(l.Items, MEPair{msg, expects})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue