D
D
DeniSidorenko2017-09-19 17:53:57
Pug
DeniSidorenko, 2017-09-19 17:53:57

Warning: missing space before text for line?

Error code

Warning: missing space before text for line 17 of jade file "app\blocks\header\header.jade"
Warning: missing space before text for line 50 of jade file "app\blocks\header\header.jade"
Warning: missing space before text for line 17 of jade file "app\blocks\header\header.jade"
Warning: missing space before text for line 50 of jade file "app\blocks\header\header.jade"
Warning: missing space before text for line 17 of jade file "app\blocks\header\header.jade"
Warning: missing space before text for line 50 of jade file "app\blocks\header\header.jade"

Good afternoon, when compiling this code, it gives errors that are described above.
Here is the code
mixin header()
  header.header&attributes(attributes)
    block

include  ../header-logo/header-logo

+header()
  // Header Left Content

  .header-left__content

    // Header Logo
    +header-logo
    // End Header Logo

    // Header language
    <b>.header-language</b>			
    // End Header Language

  // End Header Left Content

  // Header Right Content
  
  .header-right__content

    // Header Menu
    .header-menu
      ul.header-menu__list
        li.header-menu__item
          a(href='#') Service
        li.header-menu__item
          a(href='#') Recent Works
        li.header-menu__item
          a(href='#') About		
    // End Header menu

    // Header Selected Servise
    .header-selected__servise
      a(href='#') Selected servise:
        span.selected-servise__number 1
    // End Header Selected Servise

    // Header Phone
    .header-phone
      a(href='tel:+35725555555') +373 (25) 555 555
    // End Header Phone

    // Header Button
    .header-button
<b>			button.cars-button	Call me
</b>		// End Header Button

  // End Header Right Content

Line 17 and 50 put for you to notice

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question