[TxMt] Images in XHTML with B12

Eric Curtis ericc at mac.com
Fri Jun 17 05:03:48 UTC 2005


Ok, learning a lot here. The status bar says XML and I have a feeling  
it is because of the beginning of the file. For some reason (a  
particular browser needs this I believe) my first lines of the .htm  
file are:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If this is a line that will need to stay is there a way to force the  
file to observe the extension?

Thanks,

Eric C




On Jun 16, 2005, at 5:29 PM, Allan Odgaard wrote:

> On Jun 17, 2005, at 2:22, Eric Curtis wrote:
>
>
>> Ah I think I see the problem here. After you pointed to condition  
>> B I noticed that my html files are filename.htm, no 'l'
>>
>> I changed the scope line to read:
>>  text.html, text.htm
>>
>
> The scope is not the file extension. Try in your HTML file to press  
> ctrl-shift-T and you'll see the scope of the caret (if you have the  
> Language Definition bundle).
>
>
>> Is there a way to assign a wider scope and I might suggest that be  
>> default the html behaviors should work on both .html and .htm
>>
>
> It should -- does the language in the status bar say: HTML (Basic)?
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>




More information about the textmate mailing list