mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-16 10:56:50 -04:00
Remove whitespace from table of contents #189
This commit is contained in:
parent
63dda78e61
commit
fe6aceb667
@ -32,11 +32,11 @@ public class DocumentParser {
|
||||
@SuppressWarnings("unused")
|
||||
public void parse(final String sectionTitle, final String element, final String id) {
|
||||
if (element.equals("H1")) {
|
||||
title = sectionTitle;
|
||||
title = sectionTitle.trim();
|
||||
return;
|
||||
}
|
||||
DocumentSection section = new DocumentSection();
|
||||
section.title = sectionTitle;
|
||||
section.title = sectionTitle.trim();
|
||||
section.id = id;
|
||||
int level;
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user