Hello,
I started to use Textmate as editor for pages in textile and markdown format. I run into an issue with a page that includes Java source as part of an article.
If the article contains a preformatted region <pre>...</pre> and inside this region there is Java code containing a question mark as part of a generic function, then the rest of the article is marked in red color. If I use markdown format instead of textile, then I can solve this with two blank lines. This is not possible with textile format. Both pages render correctly in the preview.
I have attached two sample files for this.
<pre> public <? extends Bar> foo(){ // } </pre>
I forget to ask, what is the best way to get this into bug tracking? I read that issue tracking is only for TextMate core and not for bundles. So what should I do?
On 22 Feb 2010, at 21:48, Sebastian Hennebrueder wrote:
I forget to ask, what is the best way to get this into bug tracking? I read that issue tracking is only for TextMate core and not for bundles. So what should I do?
Use the issue tracker for the bundle @ github: http://github.com/textmate/textile.tmbundle/issues
I have attached two sample files for this.
<pre> public <? extends Bar> foo(){ // } </pre>
Would also be good to reference the Textile syntax definition which define how text inside <pre> should be parsed/escaped.
The problem you are seeing in TextMate is that it does nothing special for your text, but it includes the HTML grammar (as you can use HTML in Textile), so the <? is interpreted as a PHP start tag (defined in the included HTML grammar).