From 34c4f3903f6ba63ba2575b9bdf7ba37833370016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Szeremeta?= Date: Sat, 3 Apr 2021 17:22:18 +0200 Subject: [PATCH] Add id for molecule div tag --- src/main/java/pl/edu/uwb/ii/sdfeater/Molecule.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/pl/edu/uwb/ii/sdfeater/Molecule.java b/src/main/java/pl/edu/uwb/ii/sdfeater/Molecule.java index d2c1699..6503a9d 100644 --- a/src/main/java/pl/edu/uwb/ii/sdfeater/Molecule.java +++ b/src/main/java/pl/edu/uwb/ii/sdfeater/Molecule.java @@ -421,7 +421,8 @@ void printRDFaMolecule() { } if (output_str.length() > 0) { - System.out.println("
"); + String mID = createID(); + System.out.println("
"); System.out.print(output_str); System.out.println("
"); } @@ -471,7 +472,8 @@ void printMicrodataMolecule() { } if (output_str.length() > 0) { - System.out.println("
"); + String mID = createID(); + System.out.println("
"); System.out.print(output_str); System.out.println("
"); }