Autor Beitrag
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 22.02.09 14:13 
Ich wollt grad einen Entwurf von mir etwas modernisieren und dabei einen Rewrite im User-Tag nutzen (anrer Text angezeigt, als das Userprofil, auf das gelinkt wird.

ausblenden Quelltext
1:
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>[ user=Christian S.]Vom Meister persönlich[/user]: <a title="Zum zitierten Posting springen" href="viewtopic.php?p=474452#474452"><img src="./templates/subSilver/images/icon_latest_reply.gif" border="0" alt="Zum zitierten Posting springen" /></a></b></span></td>  </tr>  <tr>    <td class="quote">Psssst: [ url=http://www.christian-stelzmann.de/index_tutorials_crashkurs.html]Crashkurs[/url], [ url=http://www.christian-stelzmann.de/index_tutorials_crashkurs_reloaded.html]Crashkurs Reloaded[/url]</td>  </tr></table>					


Wenn ich dies tue, zerlegt es das Layout der Seite gewaltig (daher hier keine Live-Demo des Bugs).

Die Variante mit ' um den Usernamen erzeugt zwar valides HTML, jedoch keinen Link auf das User-Profil.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: So 22.02.09 16:27 
user profile iconBenBE hat folgendes geschrieben Zum zitierten Posting springen:
Die Variante mit ' um den Usernamen erzeugt zwar valides HTML, jedoch keinen Link auf das User-Profil.

Probier's mal mit " ;)

Wobei ich auch dafür wäre, invalide Schreibweisen einfach nicht parsen zu lassen. Solche Layoutzerstörer sind extrem unschön. :?
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: So 22.02.09 16:38 
user profile iconYogu hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconBenBE hat folgendes geschrieben Zum zitierten Posting springen:
Die Variante mit ' um den Usernamen erzeugt zwar valides HTML, jedoch keinen Link auf das User-Profil.

Probier's mal mit " ;)

Das geht ja leider nicht, weil die das Attribut des Quote-Tags schon begrenzen.

user profile iconYogu hat folgendes geschrieben Zum zitierten Posting springen:
Wobei ich auch dafür wäre, invalide Schreibweisen einfach nicht parsen zu lassen.

An dieser Stelle haben drei sarkastische Antworten ihren frühzeitigen Tod gefunden Ja, das ist schon klar, aber Bugs sind nunmal per Definition nicht geplant ;-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
BenBE Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 22.02.09 16:39 
user profile iconYogu hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconBenBE hat folgendes geschrieben Zum zitierten Posting springen:
Die Variante mit ' um den Usernamen erzeugt zwar valides HTML, jedoch keinen Link auf das User-Profil.

Probier's mal mit " ;)

Scherzbold ;-) Das zerstört das Layout genauso, ist zudem nicht mal eindeutig UND wurde von mir bereits getestet ;-)

user profile iconYogu hat folgendes geschrieben Zum zitierten Posting springen:
Wobei ich auch dafür wäre, invalide Schreibweisen einfach nicht parsen zu lassen. Solche Layoutzerstörer sind extrem unschön. :?

Das ist noch einer der harmlosen ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: So 22.02.09 16:56 
Naja, ein weiterer Schritt wäre auch mal das automatische Skalieren von zu großen Bildern (@Christian).

Aber wo ist hier das Problem (zumindest in der Vorschau erkenne ich nichts unschönes)
[quote="[ user="Christian S."]Vom Meister persönlich[/user]:"(474452)]Psssst: [ url=www.christian-stelzm...html]Crashkurs[/url], [ url=www.christian-stelzm...oaded.html]Crashkurs Reloaded[/url][/quote]
BenBE Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 22.02.09 17:08 
Dann schau mal genau ... hab's mal angehangen ...
Einloggen, um Attachments anzusehen!
_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 22.02.09 17:08 
Mal an die Leerzeichen gedacht ;-)

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: So 22.02.09 17:59 
Ja klar, es wird falsch geparst, aber sowas kann man doch ignorieren, oder? :wink: Da finde ich es schlimmer, ein RIIEEEESSSEN-Bild einzufügen, was dann auf die gesamte Seite Einfluss hat.

EDIT: @BenBE bist du IE-Nutzer?? :shock:
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19326
Erhaltene Danke: 1749

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 22.02.09 18:04 
user profile iconJakob_Ullmann hat folgendes geschrieben Zum zitierten Posting springen:
EDIT: @BenBE bist du IE-Nutzer?? :shock:
Wie kommst du darauf, das Bild sieht bei mir nicht wie der IE aus.
Er nutzt (soweit ich weiß ;-)) den Firefox, den wiederum ich fast gar nicht benutze (bei mir stehts ja links im Profil).
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: So 22.02.09 18:18 
Also der Absenden-Button im Screenshot sieht finde ich sehr nach IE aus (soweit ich mich daran noch erinnern kann, man beachte die grauen Ränder oben links im FF).
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: So 22.02.09 18:26 
user profile iconChristian S. hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconYogu hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconBenBE hat folgendes geschrieben Zum zitierten Posting springen:
Die Variante mit ' um den Usernamen erzeugt zwar valides HTML, jedoch keinen Link auf das User-Profil.

Probier's mal mit " ;)

Das geht ja leider nicht, weil die das Attribut des Quote-Tags schon begrenzen.

Ups, hab ich übersehen :oops:

Dann wäre eine Möglichkeit wohl, die einfachen Anführungszeichen auch durchgehen zu lassen, oder? Allerdings gäbe das dann Probleme mit Apostroph'ierten Benutzernamen... Wie wär's mit einem Escape-Backslash (\)? ;)
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: So 22.02.09 18:33 
user profile iconJakob_Ullmann hat folgendes geschrieben Zum zitierten Posting springen:
Also der Absenden-Button im Screenshot sieht finde ich sehr nach IE aus (soweit ich mich daran noch erinnern kann, man beachte die grauen Ränder oben links im FF).

Flat Style im nächsten EdgeMonkey ;)

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: So 22.02.09 19:23 
:oops: