Unnecessary whitespaces inserted

I’m puzzled. There are unnecessary whitespaces inserted. In the Original version that’s not the case. See details and screenshot below. How can I fix that?

My Browser: Firefox142.0 (64-bit) but the problem occurs in Chrome too.

My Version
TW v5.3.8
https://mymap.tiddlyhost.com/#%24%3A%2Fplugins%2FXrizzy%2FContacts%2FAddressbook

Original Plugin Version
TW v5.1.13
https://beleriandcrises.github.io/tw-mycontacts/#index

The above is html, how did you obtain it?

Normaly I belive whit space should not matter, what does it look like when viewed, what do you want differently?

I installed the internals plugin on the wiki at you link to see the html generated on the tiddler. Then edit preview HTML, It did not look the same.

Thank you @TW_Tones for looking into this.

I used the right click Inspect (Q) in firefox.

This is how it looks like:

This is how it SHOULD look like:

I can’t speak to what’s happening behind the scenes to add the whitespace, but by meddling with the HTML directly, I can see what needs to be done conceptually:

image

Removing the whitespace from the html brought the size down, and removing the tc-btn-invisible class from it allowed the rounded ends to be visible

$:/plugins/Xrizzy/Contacts/group contains $:/plugins/inmysocks/GenericTagFields/LikeTagPills which seems to be an implementation of a tag-like field.

It is missing \whitespace trim after the macro definitions. eg:

\define tag-body-inner(colour,fallbackTarget,colourA,colourB)
\whitespace trim

and

\define tag-body(colour,palette)
\whitespace trim

May be only one of them is needed. I did change both and it seems to work.


I do not know how old the plugin is and what it exactly does. But I think the existing core tag** macros should be able to handle that stuff now. – But as I wrote. I do not know the plugin well enough.

1 Like

It seems to be a heavily customised wiki, it has modified the way tabs are displaying. Even the advanced search tabs have changed.

Either move to a fresh wiki or research how this one is configured to find the answer.

  • It is hard work to research it because it is so different both UI and has a lot of plugins
  • It has a mobile theme I dont use much
  • A lot of macros and stylesheets are defined so it is a lot to look through

I have not found anything obviouse after 20mins

Guilty as charged. I do like to modify my workspice.

The search tab is from a very versatile plugin. If you haven’t yet, you might want to try it:

you could disable plugins one by one to see which is causing your problems, once identified look closer to see if you can repair.