PHP 8.1.33
Preview: simple.js Size: 627 B
/home/jambtst2015/public_html/app/assets/js/wysihtml5/simple.js

/**
 * Very simple basic rule set
 *
 * Allows
 *    <i>, <em>, <b>, <strong>, <p>, <div>, <a href="http://foo"></a>, <br>, <span>, <ol>, <ul>, <li>
 *
 * For a proper documentation of the format check advanced.js
 */
var wysihtml5ParserRules = {
  tags: {
    strong: {},
    b:      {},
    i:      {},
    em:     {},
    br:     {},
    p:      {},
    div:    {},
    span:   {},
    ul:     {},
    ol:     {},
    li:     {},
    a:      {
      set_attributes: {
        target: "_blank",
        rel:    "nofollow"
      },
      check_attributes: {
        href:   "url" // important to avoid XSS
      }
    }
  }
};

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
13.67 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.28 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
22.75 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
627 B lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
111.75 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).