Skip to content

Commit

Permalink
Fixed RT-HTML conversion issues for large richtext spread across >10 …
Browse files Browse the repository at this point in the history
…items
  • Loading branch information
klehmann committed Feb 19, 2021
1 parent 8567610 commit 117af3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domino-jna/src/main/java/com/mindoo/domino/jna/NotesNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -5323,8 +5323,8 @@ public java.util.List<com.mindoo.domino.jna.html.IHtmlImageRef> getImages() {
String indexStr = fieldOffset.substring(0, iPos);
String offsetStr = fieldOffset.substring(iPos+1);

int itemIndex = Integer.parseInt(indexStr, 16);
int itemOffset = Integer.parseInt(offsetStr, 16);
int itemIndex = Integer.parseInt(indexStr, 10); // this one is in decimal format...
int itemOffset = Integer.parseInt(offsetStr, 16); // this one is in hex format...

IHtmlApiUrlTargetComponent<?> fieldTarget = currRef.getTargetByType(TargetType.FIELD);
if (fieldTarget!=null) {
Expand Down

0 comments on commit 117af3f

Please sign in to comment.