Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129679 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 9A8B01A00BC for ; Tue, 23 Dec 2025 10:37:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1766486230; bh=uLhB59FBUa2BSRvBlPcZeT+PY2MSizioRL3Zbcr0dPs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=izNAynszocMdzp4xPqwG8ASDYi5oSEFSEvFtCrdJHLly17SEHyUpOuLb6z4e1lloZ X7kDqjRFU9I7QcQhnkhuxcCL+UFZfe2chnoCzODHu00P6beR5iPEnpSipebGwbBxEe xdBn0oXJLcIyjTStX3bgPhJ12Q8Uu5r3eNrspEDpQWI9MpFwGqRCSF+mGrDOfoEkAy 54Prcq9ZceHHMveq+WaYxEUnGicNYSusMUJeh1GMzMuKsSwgdYldhswC6ehnbmemI3 4JSZKBaq1RZwaRLj5YxBIAToZKOHdf/cT6kjAoRLEl6XPcpTVKwb+3zG3mkqYEirt7 KYzAWXGDrWLxA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8697D1805A9 for ; Tue, 23 Dec 2025 10:37:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 23 Dec 2025 10:37:09 +0000 (UTC) Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-94121102a54so3016856241.1 for ; Tue, 23 Dec 2025 02:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; t=1766486223; x=1767091023; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uLhB59FBUa2BSRvBlPcZeT+PY2MSizioRL3Zbcr0dPs=; b=Q9cfptk+v4TW74y0PJK4ZQNAR+aLGYl3H5XdQkQiJHIB/LFSK664oN5IXkRRZx2XXp 83wsPV+MyHqQEHqf+pwOk6ls2BRFuhIVvOH/taXhBKB7xuHZPngd+jAjkDd9OkNuU4Xd rPK8V2oFDEmhrW3fDx2kw0DfZQng7rchWjoU8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766486223; x=1767091023; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uLhB59FBUa2BSRvBlPcZeT+PY2MSizioRL3Zbcr0dPs=; b=UNsLuaEtaeKmXfQrW9C3hngXs+/w2L6b6kYoLmtCNvIwHPV+uhGGjB09nK9A9WSxhm qApYRnO0HUmz5kX26Aa07WdiqdB3RSZtyG21pbAWLCD6UbSH7j6ApycgmhSXYFoygQD2 kRbKiY1n8wtkALd0+BeRhnQ7IBbA5dPVfB/823UvikjDjbl3T+5HEGe+lOT8UlWbIdfD +EegfXwzCcT1rGy4A8Kcy1LUU5aBkZ79ACoIKFtCTfsKE/Bhe7bYVzBsWwXG5gbIAidZ FNAioFPEPcsZs7/Lqn64oj7YWQPYklLKOgxVGEAb1NNrMjvsYXReniHuibGE/WafSjHj L/Dw== X-Gm-Message-State: AOJu0YxMeDUFdVwKXmaOr32r06Pt4Fm7eydaVktRnQu/S/B10biildPX R+jn4qjp/GN8vqVX4RZyclZB/fjKAi/7AVWHbHF5xxvKekQaM1RbpbeAridzVlpIOJDyqizuVHJ AmA44f6vFasjdLroqFBqXq+ugdl8KtXKsSK8TXJRv X-Gm-Gg: AY/fxX4h5i1n7xTBjG6VDRA0CcJTIjudSNAOuVGFvXQQQsYzXrcRuCLHyguWVqgLthr dMrvaSOaq9GWrjfgloPk2+uigKfriBKvtXaqejisn5/cf8oU0QX/S4Fq4JJEqLxwhIG50AwzP4k +0FUBybp8Bc38eplOytGpOMOaeOoEl76Wa7rRJxF7r8dYJdXGdnrqb1eStwyuFfMfLFG3fi+qj6 dl3HSDU3z/HaiZGcwS/BlSRNfUW1B8I6x/Qt+fD1AVYGAtnKMPc9lebXEenJ4hgpWHUBspP6g== X-Google-Smtp-Source: AGHT+IEYaeCfmUlwKU7wpMubixEYNlNjH2bQ6eIqEIc8e+/qTqlEhUjM/h2CR7ohM62IjRaZKu8vhWPZik9O+HoHUx0= X-Received: by 2002:a05:6102:3e12:b0:5dd:c3ec:b5b with SMTP id ada2fe7eead31-5eb1a827242mr4526985137.31.1766486223650; Tue, 23 Dec 2025 02:37:03 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <7c592a80-76a5-4b16-9c7b-a354aa34802a@mail.ru> <090074b5-8c44-4373-8834-5e49c611b17b@app.fastmail.com> In-Reply-To: <090074b5-8c44-4373-8834-5e49c611b17b@app.fastmail.com> Date: Tue, 23 Dec 2025 12:36:52 +0200 X-Gm-Features: AQt7F2rBnpzB0yDmTlp1XsMNsoesgMUPhTAtk-2YXGqVePdFFlKRsZtobIRH_so Message-ID: Subject: Re: [PHP-DEV] [RFC Idea] Short echo tag with automatic HTML escaping () To: Rob Landers Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000dc8d7406469c1fdd" From: narf@devilix.net (Andrey Andreev) --000000000000dc8d7406469c1fdd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Rob, On Tue, Dec 23, 2025 at 12:14=E2=80=AFPM Rob Landers wr= ote: > Which template engines are context aware? The only ones I'm aware of is m= y > own and Latte (which take a similar approach but is quite architecturally > different). > Sorry, I don't have a direct answer to your question. I haven't written front-end code for a loong time and haven't needed such tools recently enough to know. I just meant to say that only a templating engine (or something that would parse the full output) can be context-aware. Although in many cases, where a template engine provides helpers such as those that generate lists or forms, those helpers still have sufficient context. Cheers, Andrey. --000000000000dc8d7406469c1fdd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Rob,

On Tue, Dec 23, 2025 at = 12:14=E2=80=AFPM Rob Landers <rob@bottled.codes> wrote:
Which templa= te engines are context aware? The only ones I'm aware of is my own and = Latte (which take a similar approach but is quite architecturally different= ).

Sorry,=C2=A0I don't have= a direct answer to your question. I haven't written front-end code for= a loong time and haven't needed such tools recently enough to know.

I just meant to say that only a templating engine (o= r something that would parse the full output) can be context-aware. Althoug= h in many cases, where a template engine provides helpers such as those tha= t generate lists or forms, those helpers still have sufficient context.

Cheers,
Andrey.
--000000000000dc8d7406469c1fdd--