3 Commits

Author SHA1 Message Date
Jonathan Ingram 93312f47fc v2: initial commit (#153)
- Some methods have been changed to return an error as their last
  argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00
guangwu a000b5d069 all: remove refs to deprecated io/ioutil (#140) 2023-09-13 14:33:58 +10:00
remLse 6b8d2b5d66 rtf: don't ignore lines less than 5 characters long (#91)
It looks like the original author of this function intended to do a bounds check
on the line variable before checking if it has the `### ` prefix. Instead, we can
just use `strings.HasPrefix` which also means that shorter lines are now 
included in the output.

Co-authored-by: Remo Senekowitsch <remo.senekowitsch@icloud.com>
2021-04-12 19:49:41 +10:00