Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bilduntertexte für links- und rechtsbündige Bilder funktionieren nicht #14

Open
GeoChallenger opened this issue Jan 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@GeoChallenger
Copy link

https://www.mozilo.de/forum/index.php/topic,4786.0.html

@GeoChallenger
Copy link
Author

Vorschlag meinerseits... das tut zumindest bei mir, was es soll.

/cms/Syntax.php, Zeile 655

alt:
return '<figure><img itemprop="image" src="'.$imgsrc.'" alt="'.$language->getLanguageHtml("alttext_image_1", $alt).'" class="'.$cssclass.'" '.$attr.'><figcaption itemprop="caption" class="imagesubtitle">'.$subtitle.'</figcaption></figure>';

neu
return '<figure class="'.$cssclass.'"><img itemprop="image" src="'.$imgsrc.'" alt="'.$language->getLanguageHtml("alttext_image_1", $alt).'" class="'.$cssclass.'" '.$attr.'><figcaption itemprop="caption" class="imagesubtitle">'.$subtitle.'</figcaption></figure>';

@marusti marusti added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants