Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capital-lettered variables get included in the output #7

Open
ghost opened this issue Sep 29, 2014 · 4 comments
Open

Capital-lettered variables get included in the output #7

ghost opened this issue Sep 29, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 29, 2014

A variable defined with a capital letter <!-- $Foo = Baz --> will get included in the compiled html, whereas <!-- $foo = Baz --> and <!-- $fooBar = Baz --> behave as expected.

@bdkjones
Copy link
Owner

Please post an example file that shows the issue. I’ve heard of this before, but have never been able to duplicate the behavior on my machine.

On 28 Sep 2014, at 21:46, indrekpaas notifications@github.com wrote:

A variable defined with a capital letter will get included in the compiled html, whereas and behave as expected.


Reply to this email directly or view it on GitHub.

@calvinjuarez
Copy link

CodeKit 2.2 (18493) on OS X Yosemite 10.10.2

I'm seeing this issue, too. Here's how I replicated.

root.kit

<!-- @At     at sign -->
<!-- $Dollar dollar sign -->

<!--@At-->
<!-- @At -->
<!--$Dollar-->
<!-- $Dollar -->

root.html

<!-- @At     at sign -->
<!-- $Dollar dollar sign -->

<!--@At-->
<!-- @At -->
<!--$Dollar-->
<!-- $Dollar -->

How the variable is declared doesn't matter (e.g. <!-- @At: at sign --> or <!--$Dollar=dollar sign--> also produce incorrect output).

@bdkjones
Copy link
Owner

Interesting. I’ll take a look. By convention in most programming languages, variables always start with a lowercase character. Only class names start with an uppercase letter.

On 19 Mar 2015, at 15:59, calvin notifications@github.com wrote:

CodeKit 2.2 (18493) on OS X Yosemite 10.10.2

I'm seeing this issue, too. Here's how I replicated.

root.kit

root.html

How the variable is declared doesn't matter (e.g. or also produce incorrect output).


Reply to this email directly or view it on GitHub #7 (comment).

@calvinjuarez
Copy link

Yeah, I don't know that I've ever done this myself; I was just able to replicate the issue. Since it's unexpected behavior, it seemed worth looking at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants