# windpress/3.2.85/vendor/masterminds/html5/bin/entities.php

WindPress – Tailwind CSS integration for WordPress, version 3.2.85. 26 lines.

- Page: https://pluginprobe.com/plugins/windpress/3.2.85/code/vendor/masterminds/html5/bin/entities.php
- Raw: https://pluginprobe.com/plugins/windpress/3.2.85/raw/vendor/masterminds/html5/bin/entities.php
- Modified: 2025-05-28T18:57:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/windpress/3.2.85/code/vendor/masterminds/html5/bin/entities.php#L10-L20`.

```php
<?php

namespace WindPressDeps;

/**
 * Fetch the entities.json file and convert to PHP datastructure.
 */
// The URL to the official entities JSON file.
$ENTITIES_URL = 'http://www.w3.org/TR/2012/CR-html5-20121217/entities.json';
$payload = \file_get_contents($ENTITIES_URL);
$json = \json_decode($payload);
$table = array();
foreach ($json as $name => $obj) {
    $sname = \substr($name, 1, -1);
    $table[$sname] = $obj->characters;
}
echo '<?php
namespace Masterminds\HTML5;
/** Entity lookup tables. This class is automatically generated. */
class Entities {
  public static $byName = ';
\var_export($table);
echo ';
}' . \PHP_EOL;
//print serialize($table);

```
