I've updated to version 2.2, but result is not as expected. The output is broken.
The following text works with 1.7, but not 2.2.
<p>=de=Gute Webseiten oder Organisationen, die sich um Transparenz in der Medizin und der medizinischen Forschung bemühen. Diese Webseiten enthalten viele interessante Informationen und Links.=es=Una lista de sitios en la red y organizaciones que pretenden una mayor transparencia en la práctica de la Medicina y en la investigación médica. Estas páginas web contienen muchas informaciones y muchos enlaces de interés.=qz=A list of good sites or organizations which want more transparency in medicine and medical research. These websites contain many interesting informations and links.=qq=</p>
<p><!--break--></p>
<table align="left" border="0">
<thead>
<tr>
<td><strong>=es=Página web=other=Website=qq=<a href="http://www.healthyskepticism.org/"></a></strong></td>
<td><strong>=de=Beschreibung=es=Descripción=other=Description=all=</strong></td></tr></thead>
<tbody>
<tr valign="top">
<td><a href="http://www.healthyskepticism.org/">healthyskepticism.org</a></td>
<td>=de=Peter Mansfield hat eine der weltweit schlagkräftigtsten Kampagnen gegen manipulatives Pharmamarketing aufgebaut hat. Seine "Updates" werden auf allen Kontinenten gelesen und sorgen immer wieder für Aufsehen. Die Website enthält zudem eine hervorragende Linkliste. =other=<em>Introduction to Healthy Skepticism Inc</em>
<p>What? Our main aim is improving health by reducing harm from misleading health information.<br>Why? Because misleading health information harms health and wastes resources.<br>Who? We have 161 members who live in 23 countries. Many of us are health professionals but everyone is welcome to become a member if they support our aims. We also have 2478 subscribers who live in 112 countries.<br>Where? Mostly this website and email groups but we also have some meetings in person at many locations around the world.<br>How? We share information via our website, email discussion lists, academic journal publications and informing the media. Members may join task groups.<br>When? Since 1983.=all=</p></td></tr>
<tr valign="top">
<td><a href="http://mezis.de/">mezis.de</a></td>
<td><span class="attribute-value"><em>Mein Essen zahl ich selbst</em> - eine Aussage, die für Ärzte und Ärztinnen alles andere als selbstverständlich ist. MEZIS wurde Initiative unbestechlicher und unabhängiger Ärzte ins Leben gerufen. MEZIS kämpft gegen Einflussnahmen der Pharmaindustrie auf das Verordnundgsverhalten von Ärzten und Ärztinnen.</span></td></tr>
<tr valign="top">
<td><a href="http://www.nofreelunch.org/aboutus.htm">nofreelunch.org</a></td>
<td>=de=Homepage der amerikanischen Initiative "<em>No free lunch</em>"=other="<span class="style19">We are</span> health care providers who believe that pharmaceutical promotion should not guide clinical practice. Our mission is to encourage health care providers to practice medicine on the basis of scientific evidence rather than on the basis of pharmaceutical promotion. We discourage the acceptance of <em>all</em> gifts from industry by health care providers, trainees, and students. Our goal is improved patient care."=all=</td></tr>
</tbody></table>
I've added screenshots of working 1.7 and of broken 2.2. My website is in en, fr, es and de. de is the default language of the website.
Comments
Comment #1
andy inman commentedNo screen shots? I've tested your content on my system and it seems to work. Here is a screen shot for German.
Comment #2
ibex commentedIt seems that this is not a general problem. Your output is ok.
I've added the screenshots. The language section filter is the first one on my system (-10 weight).
I'll look at my system when I find some time. Currently, I downgrade to version 1.7 and this works for me.
Thanks for your fast reply.
Comment #3
andy inman commentedOk, when you get some time...
Please try version 2.4 - http://drupal.org/node/754696 - I've changed the regexp pattern to be almost the same as V1.7 (it cannot be exactly the same due to the way 2.x works.)
Can you give me the exact configuration of your input format? I will try with that. Maybe some other filter is interfering in some way.
My test filter is LS only, but I've tried adding other typical filters like line-break converter and HTML corrector and that doesn't seem to make any difference your content still appears correct to me.
Comment #4
ibex commentedI describe what I've tested:
It seems that the problem is only "in" a specific input format. It seems that there is "some state" in the input format.
Do I have to flush some caches? Or to do something?
Maybe this information helps you.
Comment #5
andy inman commentedThanks for that extensive research - it has given me an idea! Maybe the problem is simply that LS 2 is using the "pattern" setting from LS 1 - that may be the case if you have never visited (and saved) the configuration page for LS 2. In other words, all you have to do (after upgrading from 1.x to 2.x) is visit the configuration page and save the configuration. If that works, repeat the process for each filter format lat uses LS, as the configuration is saved per format (unless you activate the "shared configuration" option in "advanced" settings.)
I'm am not sure, but I think this may be the bug - it would seem consistent with your report above. In any case I will take a look at the code and try to confirm.
Comment #6
ibex commentedAfter saving LS configuration in the problematic input format it works!
Thanks for the hint!
That may also explain why it suddenly worked in step 3. I've looked through several configurations.
Comment #7
andy inman commentedI checked the code - it turns out that all you need to do would be visit the config page (even without saving it.) Still, it's a bug - version 2.5 about to be released which fixes this.