Hallo,
ich bin mir nicht sicher ob mein Thema hier genau richtig ist
Ich habe hier auf meinen Seiten einen Link für die Druckversion der jeweiligen Seite erstellt. Funktioniert auch soweit wunderbar. Wenn ich jetzt aber eine Suche über indexed_search mache wird das & im Link nicht mit
&
kodiert sondern mit &%3B. Dadurch meckert der W3C-Validator was mich widerum stört. Von technischer Seite funktioniert der Link aber. Nur möchte ich den gerne auch als valide durch den Validator abgesegnet haben.
Vielleicht hat jemand eine Idee bezüglich meines Problems.
Fehlermeldung des W3C-Validators: reference not terminated by REFC delimiter
Die Seite hat den Doctype für XHTML 1.1 und UTF-8 als Zeichensatz.
Ich benutze:
Typo3 4.4.4
realurl 1.10.0
make_printlink 1.5.3
indexes_search 2.12.0
macina_searchbox 2.2.0
Hier ein Auszug aus meinem Haupttemplate:
config {
########## SEO URL ##########
simulateStaticDocuments = 0
baseURL = http://localhost/
tx_realurl_enable = 1
prefixLocalAnchors = all
########## XHTML HEADER AND CODE CLEANUP ##########
doctype = xhtml_11
xmlprologue = none
xhtml_cleaning = all
removeDefaultJS = 1
inlineStyle2TempFile = 1
disablePrefixComment = 1
renderCharset = utf-8
metaCharset = utf-8
sourceopt {
enabled = 1
removeGenerator = 1
removeBlurScript = 1
removeComments = 1
removeComments.keep {
10 = /^TYPO3SEARCH_/usi
20 = /This website is powered by TYPO3/usi
30 = /^\[if/usi
}
formatHtml = 4
formatHtml.tabSize = 4
}
########## LANGUAGE CONFIG ##########
sys_language_uid = 0
htmlTag_langKey = de
language = de
locale_all = de_DE
Und hier der Auszug mit z.B. der Macina Searchbox und dem Printlink:
########## PLUGIN MACINA SEARCHBOX ##########
plugin.tx_macinasearchbox_pi1 {
pidSearchpage = 40
templateFile = fileadmin/template/searchbox.html
}
temp.contentinfo = COA
temp.contentinfo {
########## MACINA SEARCHBOX ##########
10 = COA
10 {
wrap = <!-- container searchbox --><div id="searchbox">|</div>
10 = TEXT
10 < plugin.tx_macinasearchbox_pi1
}
########## PRINT LINK ##########
20 = COA
20 {
wrap = <!-- container printlink --><div id="printlink">|</div>
10 = IMAGE
10 {
file = fileadmin/template/img/icon_print16x16.png
altText = Druckversion
titleText = Druckversion
stdWrap.postUserFunc = tx_make_printlink
}
20 = TEXT
20 {
value = Druckversion
postUserFunc = tx_make_printlink
postUserFunc.include_post_vars = 1
postUserFunc.make_user_int = 0
}
}
Und hier noch meine Array für die Config von realurl:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
'_DEFAULT' =>
array (
'init' =>
array (
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile,redirect',
'adminJumpToBackend' => true,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => '/',
'postVarSet_failureMode' => '',
),
'preVars' =>
array (
),
'pagePath' =>
array (
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'rootpage_id' => '1',
'firstHitPathCache' => 1,
),
'fixedPostVars' =>
array (
),
'postVarSets' =>
array (
),
),
'fileName' =>
array (
'defaultToHTMLsuffixOnPrev' => 1,
'acceptHTMLsuffix' => 1,
'index' =>
array (
'print.html' =>
array (
'keyValues' =>
array (
'type' => 98,
),
),
),
),
),
);