language-pug icon indicating copy to clipboard operation
language-pug copied to clipboard

Else Block Show Element as Text

Open OsamaElzero opened this issue 6 years ago • 2 comments

- var myArray = ['HTML', 'CSS', 'PHP', 'MySQL', 'JavaScript']
each val, index in myArray
  div= index + ' : ' + val
else
  p There's No Value

Here "p" Must be Colored because its Element and its Rendered as Element but its show as Text

OsamaElzero avatar Aug 16 '18 15:08 OsamaElzero

screen shot 2018-10-19 at 8 22 08 pm this is it

thatjeannie avatar Oct 20 '18 03:10 thatjeannie

Also reported here: https://github.com/genoma/language-pug/issues/2 In that thread is a suggested fix, I someone wants to do a PR

rotsee avatar Feb 12 '20 09:02 rotsee