How do I stop this from happening when submitting examples with the "APLCode" tag?
When I hit "Preview", the forums sets the first line of code after the opening [aplcode]tag.
Before & After (animated gif)
The result is the same when I click submit.
I did notice that clicking the "APLCode" button creates a tag with APLC being capitalized. However, after clicking Preview, the tag is now aplcode.
APLCode tag always indents the first line
- norbertjurkiewicz84
- Posts: 62
- Joined: Mon Nov 01, 2010 7:26 pm
- AndyS|Dyalog
- Posts: 263
- Joined: Tue May 12, 2009 6:06 pm
Re: APLCode tag always indents the first line
Hi Norbert
I wish I could work out how to fix it .. Phil Last and I had a discussion about this back in 2011 (viewtopic.php?f=30&t=268&p=1058) but I found no way of getting this to work.
I'll take another look at some point ..
I wish I could work out how to fix it .. Phil Last and I had a discussion about this back in 2011 (viewtopic.php?f=30&t=268&p=1058) but I found no way of getting this to work.
I'll take another look at some point ..
- norbertjurkiewicz84
- Posts: 62
- Joined: Mon Nov 01, 2010 7:26 pm
Re: APLCode tag always indents the first line
Can you use a bit of JS to insert a line-break after the opening and before the closing APLCode tags?