Re: [code] Strange folding behaviour

From: Alexander Misel <alexander_misel.att.live.cn>
Date: Thu, 4 Oct 2018 05:55:04 +0000

I improved the HTML lexer for better support of single tags and unknown elements and attributes. See attached file.
________________________________
From: Mitchell <m.att.foicica.com>
Sent: Sunday, September 30, 2018 23:56
To: code.att.foicica.com
Subject: Re: [code] Strange folding behaviour

Hi Pedro,

On Sun, 30 Sep 2018, Pedro Andres Aranda Gutierrez wrote:

> Hi Mitchell,
>
> nope... It continues to behave like that. However, I think it's due to the
> <meta> tags in the header. I use them like in
> https://www.w3schools.com/tags/tag_meta.asp. When I change them to
> <meta .../>
> folding works again. Maybe something to take into account in the future...
> This is what I get from 'view source' in Firefox for the first lines of
> most web pages:
>
> <!DOCTYPE html><html lang="es"><head><meta charset="utf-8">

I don't plan to work on this, but if you want to submit a patch, I'll consider applying it. I think interpreting HTML as a form of XML for folding is quite reasonable.

Cheers,
Mitchell

--
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 04 Oct 2018 - 01:55:04 EDT

This archive was generated by hypermail 2.2.0 : Thu 04 Oct 2018 - 06:27:16 EDT