config {
    doctype = html5
    htmlTag_setParams = lang="de"
    disablePrefixComment = 1
    language = de
    admPanel = 1
    simulateStaticDocuments = 0
    baseURL = https://oberstufe.wtrinkl.de/
#   baseURL = http://p265112.mittwaldserver.info/
    tx_realurl_enable = 1
    index_enable = 1

    spamProtectEmailAddresses = 1

    # Client-seitiges Caching aktivieren
    no_cache = 0
    sendCacheHeaders = 1
    cache_clearAtMidnight = true
    cache_period = 86400
}

# CSC-Wraps anpassen
lib.stdheader.stdWrap.dataWrap >
lib.stdheader.2.headerStyle >
lib.stdheader.3.headerClass >
tt_content.stdWrap.dataWrap =
tt_content.stdWrap.innerWrap >

# RTE-Anpassungen
lib.parseFunc_RTE {
    # entfernt 'class="bodytext"' bei p-Tags
    nonTypoTagStdWrap.encapsLines.addAttributes.P.class >

    # Bugfix "ueberfluessige P-Tags in Listen"
    externalBlocks {
        p.stripNL = 1
        ol >
        ul >
        ol.stripNL = 1
        ol.stdWrap.parseFunc = < lib.parseFunc
        ul.stripNL = 1
        ul.stdWrap.parseFunc = < lib.parseFunc
    }
}
