NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
bug - DIV closing tags sometime not suggested


Joined: 30 May 2006
Posts: 98
Reply with quote
Hi,

sometime DIV closing tags are not suggested. Seems related to PHP output buffering function(s) on the page (? just a guess). Other closing tags (span, ..) will be suggested but DIV somehow is not. Happens irregularly. Reproduce issue - insert into new PHP page in IDE:

Code:

<div id="msg-insurance-case">

   <?php if(!$insurance->id){ ?>
      <div class="alert alert-warning text-center">
         <i class="fa fa-info-circle mr-1"></i>
         <button type='button' class='close' data-dismiss='alert'>×</button>
         <?= Yii::t('app', 'Poistný prípad nie je vytvorený.') ?>
      </div>
   <?php } ?>

   <div id="msg-insurance-case">
      <?= Response::FORMAT_JSON ?>
      <span id="msg-insurance-case">
         <?= Response::FORMAT_JSON ?>
      </span>
   </                              <------ CLOSING DIV TAG NOT SUGGESTED

</div>

<?php ob_start() ?>

<script type="text/javascript">
<?php ob_start() ?>
/* empty .. */
<?php $this->registerJs(ob_get_clean()) ?>
</script>

<style>
<?php ob_start() ?>
/* empty */
<?php $this->registerCss(ob_get_clean()) ?>
</style>

<?php ob_end_clean();


Screen:
https://i.ibb.co/nqxpRHDP/screen-bug-nusphere-closing-tags-not-suggested-jpg.png

Thank you.
View user's profileFind all posts by lubosdzSend private message
bug - DIV closing tags sometime not suggested
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic