Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6.1
-
Component/s: None
-
Labels:None
Description
The following fragment specifically only takes canonical content instead of all headings.
/**
- The text of non-reference notes.
- @return The references in the text
*/
public static String getHeadings(Element root) {
StringBuilder buffer = new StringBuilder();
for (Content content : getDeepContent(root, OSISUtil.OSIS_ELEMENT_TITLE))
{ Element ele = (Element) content; getCanonicalContent(ele, null, ele.getContent().iterator(), buffer); } return buffer.toString();
}