Skip to content

Empty line in embedded coffee/js/css/scss breaks the block #14

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Xenofex
Copy link

@Xenofex Xenofex commented Dec 7, 2016

An empty line broke a continuous coffeescript/javascript/css/scss block.

Here is an example. Before the fix, the last line was not considered to be the same coffeescript block, thus not highlighted as coffeescript

(here UNDERSCORE as SPACES)

__:coffeescript
____$ ->
______$('#title').text('hello')

______$('#content').text('world)

Before: an empty line breaks a continues coffeescript/javascript/css/scss block. Here is an example. Before the fix, the last line was not considered to be the same coffeescript block, thus not highlighted as coffeescript

(here UNDERSCORE as SPACES)

__:coffeescript
____$ ->
______$('#title').text('hello')

______$('#content').text('world)
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

Successfully merging this pull request may close these issues.

1 participant