Changeset 111502 in spip-zone for _plugins_/facteur/trunk


Ignore:
Timestamp:
Sep 5, 2018, 4:32:38 PM (3 months ago)
Author:
marcimat@…
Message:

Compat PHP 7.x : Constructeur construct() + pas de continue dans un switch.

Location:
_plugins_/facteur/trunk/lib/markdownify
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/facteur/trunk/lib/markdownify/markdownify.php

    r106385 r111502  
    292292            $this->isMarkdownable(); # update notConverted
    293293            $this->handleTagToText();
    294             continue;
     294            break;
    295295          }
    296296          if (!$this->parser->keepWhitespace && $this->parser->isBlockElement && $this->parser->isStartTag) {
  • _plugins_/facteur/trunk/lib/markdownify/markdownify_extra.php

    r106385 r111502  
    5050   * constructor, see Markdownify::__construct() for more information
    5151   */
    52   function Markdownify_Extra($linksAfterEachParagraph = MDFY_LINKS_EACH_PARAGRAPH, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML) {
     52  function __construct($linksAfterEachParagraph = MDFY_LINKS_EACH_PARAGRAPH, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML) {
    5353    parent::__construct($linksAfterEachParagraph, $bodyWidth, $keepHTML);
    5454
Note: See TracChangeset for help on using the changeset viewer.