Skip to content

Commit 8c33d8d

Browse files
committed
Change visibility of two methods we need in some other projects.
1 parent c8ed52a commit 8c33d8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/main/java/com/formulasearchengine/mathmltools/mml/elements

src/main/java/com/formulasearchengine/mathmltools/mml/elements/MathDoc.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static String tryFixHeader(String inputXMLString) {
8282
*
8383
* @param newTeX
8484
*/
85-
void changeTeXAnnotation(String newTeX) {
85+
public void changeTeXAnnotation(String newTeX) {
8686
dom.getDocumentElement().setAttribute("alttext", newTeX);
8787
if (getAnnotationElements().getLength() > 0) {
8888
log.trace("Found annotation elements");
@@ -147,7 +147,7 @@ public String toString() {
147147
return null;
148148
}
149149

150-
void fixGoldCd() {
150+
public void fixGoldCd() {
151151
getSymbolsFromCd("latexml").filter(n -> n.getCName().startsWith("Q")).forEach(cSymbol -> {
152152
log.trace("Processing symbol {}", cSymbol);
153153
cSymbol.setCd("wikidata");

0 commit comments

Comments
 (0)