Hello,
I’m getting back to you. First of all, thank you very much. The problem has been resolved. However, I still don’t know exactly what caused it. In any case, the file now runs smoothly in TB11 as well.
What did I do?
I followed your suggestions and was able to fix the issue that way. Therefore, there is no need for me to post the TBX file here.
@mwra
If you take the CSS from your not(es) and place it a static, manually created HTML page does it work?
CSS in a separate file instead of in the notes I didn’t change that. So that wasn’t the cause.
Is xyz identified by $Name and if so is that title unique and have no problematic characters in it, etc.?
Yes and yes. I have indeed experienced in other projects that Tinderbox can produce unexpected results when there are multiple notes with the same name that are addressed via $Name. Switching to the ID solved the problem back then and everything ran stably again. In this case, however, I didn’t change that and am still addressing the notes by their names. Good hint from you, but that wasn’t the cause here either.
If you are placing raw SVG code…
This seems to have been the problem! I reduced the SVG code to the absolute essentials. Now the image is embedded stably. The only question remaining for me is why the old SVG code caused no problems in TB10 but did in TB11. This is important because I still have older projects that also contain SVGs with bloated code, which could potentially cause issues in TB11. I haven’t had time to test that yet, though.
@eastgate
MarkBernstein:
The best way to diagnose problems in HTML export is to compare the exported HTML to what you expect.
That’s exactly what I did. In the process, I also noticed a few sloppy bits in my own HTML code (for example, unnecessarily complicated nesting), but nothing that modern browsers couldn’t handle. I’ve cleaned those up as well, so the code is now better.
I believe the export problem was apparently caused by the SVG file. After I simplified the code manually, the issues disappeared. Note: Originally, I had simply copied and pasted the SVG text. Only by consulting an LLM did I gradually figure out what was an essential part of the SVG text and what was unnecessary.
I believe this is the first and only report of such a circumstance we have received in the past five years. I have never seen such a thing. Of course, if you have an action that is deleting text on your behalf, that’s a very different thing.
I know — this was the first time I experienced it too, and it surprised me a lot. And honestly, as far as this text-deletion problem is concerned, I can’t imagine that the SVG file was responsible.
However, something else occurred to me that might have been the cause. In that case, the problem wouldn’t be with Tinderbox at all, but would be Apple-specific and could perhaps be classified in the broadest sense as user error — even though I didn’t interact directly: I have another Mac here that is logged in with the same Apple ID. I can no longer reconstruct it, but it’s not impossible that another person did something on the other computer (for example, typed or deleted text) and used the Delete key, which then affected my machine. It has already happened before that someone was on my iPhone, copied something there, and at the same time I pasted something and ended up inserting exactly what the other person had copied on the phone — so there is interaction between the devices. If that happened, it can lead to unpredictable events.
Perhaps — though I don’t know for sure — that was the reason for the erratic deletions. It hasn’t happened again since then. If that was the case, then it naturally had nothing to do with TB. But it is another potential source of errors that Apple users should keep in mind.
Thank you both once again for your quick and comprehensive help.