mirror of
https://github.com/PhilKes/NotallyX.git
synced 2025-06-28 20:29:54 +00:00
Fixed bug that caused unescaped characters in the body of list items to modify exported PDF and HTML files
This commit is contained in:
parent
77d95f4b3a
commit
e606c74dc7
2 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
*Development has paused and will resume in June. Please use the issues tab only for bug reports*
|
||||
*Please use the issues tab only for bug reports*
|
||||
|
||||
### Background
|
||||
Although there are many notes apps out there, they're all hideous, glitchy, low quality or all 3 at the same time.
|
||||
|
@ -33,7 +33,6 @@ Well, Notally is none of these things. It's extremely light, minimalistic and el
|
|||
|
||||
### Translations
|
||||
The list of supported languages is present in [CONTRIBUTORS.md](CONTRIBUTORS.md)
|
||||
|
||||
If you would like to help translate the app further, please contact me via [email](mailto:omgodseapps@gmail.com) or open a pull request.
|
||||
|
||||
### Screenshots
|
||||
|
|
|
@ -228,8 +228,8 @@ class BaseNoteModel(private val app: Application) : AndroidViewModel(app) {
|
|||
}
|
||||
Type.LIST -> {
|
||||
append("<ol>")
|
||||
baseNote.items.forEach {
|
||||
append("<li>${it.body}</li>")
|
||||
baseNote.items.forEach { (body) ->
|
||||
append("<li>${Html.escapeHtml(body)}</li>")
|
||||
}
|
||||
append("</ol>")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue