Forum Bugs

unwanted image tag in wikipedia articles

lupussy
Hello,

I use the latest prince version (9.0) with the latest wiki2.css file.

Converting any article from wikipedia (from different languages, english, german, latin) there is an unwanted image tag

<img src="//en.wikipedia.org/wiki/Spe-
cial:CentralAutoLogin/start?type=1x1" alt="" title=""
width="1" height="1" style="border: none; position: ab-
solute;" />

after the list of External links and before the Navigation menue.

How can I get rid of this tag?

Regards
Wolfgang Büchel
mikeday
You could select it using sibling selectors, or based on the src attribute, and apply "display: none".
lupussy
I tried

img[src~=Special:CentralAutoLogin]{ display: none; }

but that didn't work.

mikeday
Use *= instead of ~=, and put the value in quotes:
img[src*="Special:CentralAutoLogin"]{ display: none; }
lupussy
I tried what you proposed, and both variants (*= and ~=), on several wikipedia articles -- no success.

Problem remains. Seems to be a hard one.

What can cause it?
mikeday
Hmm, it works for me with the sample element you pasted above. Does it work for you on this sample?
lupussy
Sorry, it doesn't work.

I tried a short article https://en.wikipedia.org/wiki/Subreption from the english wikipedia.

Result attached.
  1. subreption.pdf55.6 kB
lupussy
I returned from prince version 9.0 to version 8.1r5 and using wiki2.css (without your proposed

img[src*="Special:CentralAutoLogin"]{ display: none; } 


it worked perfect.

The problem seems to be caused by prince version 9 itself.
mikeday
I suspect the problem may be due to some interaction between rules, and perhaps not just this rule alone. Is it possible to attach a complete sample HTML here?