HTML reader works fine in iOS but not in macOS

I'm opening an HTML file both in Zotero for iOS (1.0.51) and macOS (7.0.22).
In the former, the HTML cascades/drop-downs work as expected. In the latter, the reader accuses them as links (cursor becomes hand), but clicking does not unfold them. The file works fine when opening it in Firefox in macOS.
Is this an expected limitation?
  • From what URL are you saving the snapshot?
  • edited yesterday at 8:32am
    I am not saving a snapshot. I have an HTML file produced at work. Something like (without < and > to avoid HTML interpreter):

    ...
    </style>
    </head>
    <body>
    <p class="comment"> Note:
    Comments
    </p>
    <ul id="myUL">
    <li>
    <span class="bom">
    System 1
    </span>
    <ul class="nested">

    <li>
    <span class="bom">
    System 2
    </span>
    <ul class="nested">

    <li>
    <span class="bom">
    System 3
    </span>
    <ul class="nested">
    ...
  • edited yesterday at 8:19am
    (You can just put code within <code></code> blocks.)

    I'm not sure what you mean by "cascades/drop-downs". Your markup above is just an unordered list.

    If you're talking about something enhanced by JavaScript, that's just because HTML files are opened in a regular in-app webview on iOS, but on desktop they open in the reader, which has JavaScript disabled.
  • The beta of the iOS app opens HTML documents in the reader, so you'd likely see the same behavior of the JS not working there. (If not it's a bug!)
  • edited yesterday at 8:40am
    (yes, you're right, thanks for the suggestion)

    hi @dstillman
    well, I am not putting the full file here because it is long, but some entries are sub-items of others, e.g. System 2 is inside System 1 in my example... the point is that items are nested, and I cannot open the nesting in the HTML file when viewing it in the macOS reader.
    indeed some of the HTML file has JavaScript definitions, so I guess you're right; is there a way of enabling JavaScript in the reader for certain HTML files?
  • edited yesterday at 12:20pm
    that's a shame, but that's alright

    but @dstillman, to try and keep my workflow: is there a way to set the default reader for different types of attachments, so that PDFs are automatically opened in Zotero, but HTML files are opened in my web-browser (as URLs are)?

    in any case, thanks for the help
  • Yes, in Zotero settings -> General -> Open snapshots using.
Sign In or Register to comment.