$html_entities_decode

By rockcavera on Feb 13, 2017

This snippet decodes the html entities hexadecimal, decimal and named (& #xHHHH; & #DDDDD; &NAME;). Does not remove html tags.

The database has 2238 registered entities.

Requires mirc 7.x to work properly (unicode support).

Syntax: $html_entities_decode(htmltext)

Examples:

//echo -a $html_entities_decode(⫋︀ ⫌︀)

//echo -a $html_entities_decode(//var %x = 0 | while (%x < 256) { echo -s dec %x = $chr(%x) | inc %x })

Code:

alias -l escapeHT return $lower($regsubex(esc,$1,/([A-Z])/g,:\t))

alias html_entities_decode {
  if (!$hget(htmlentitiesnames)) {
    if (!$exists(htmlentitiesnames.db)) && (!$db) return
    hmake htmlentitiesnames 2798
    hload -b htmlentitiesnames htmlentitiesnames.db
  }
  return $regsubex(nam,$regsubex(dec,$regsubex(hex,$1,/&\x23x([a-f\d]+);/gi,$chr($base(\t,16,10))),/&\x23(\d+);/g,$chr(\t)),/&(\w+);/g,$iif($hget(htmlentitiesnames,$escapeHT(\t)),$v1,&\t;))
}

alias -l db {
  set -l %c bset -t &db
  %c 1 eF6FfWdzm1mW3pVIAiSVO0zP2OUP9jrb1a7dmbVd8O7a/8Ne2yDwkkALSQgkpd2tIsWEQJESo0hKogIzlXNWVXdr7apWjbb/Qn+f2r/g5znn3BcApS1/mB4IeN8bzj3hOemyy8UGSolih/vD3M0e15ceyJfT2aDU4X7ZOd/hYoX0Yff7610uls8X+vHQ4mTExYIzlXgGT+w+6XSxRD9e/mX8Dr7PZ4OBOJ7fxdd9A0V8msO3qXgiOH3Y/TTFh1McbxufkgFHqPLLPo7wh4UJfkycPez+7hLeSifTMsIevo3LJ/k2npDPdZktnsDn99NYXb9s4ZfxB1HX922sUiilMeLqa2ygGPD7K3gmJzv4ZXwRn4NKNnPY/dDgQvLlw+77HU6j6xjnPIl0MYEHZvi1rOli1JWCeLGYH8IYk5f5fS5JGsxjklICn/ZeRzFaqVzMY7c/XsQofcVgMMDOL3+BdaQHUmVMNpSLDQaJcp7LnTqPYTKlFEe8T+rEC/j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ccp/9UxxPVers5pLrX7SX3IW1diuiR6z67EJEG1CF3e4cbxFUvcX7r4+11oYJIF/CWQ/7Da0/F6wq7SB0AO4dMxvT0tr09HhLAt3T/2mX9MEOWgmanL1C/JUuaCEj68bJT6pFSXlQMZnnpUuH3D/n00ZcXmDdoq9qEQNs/MfIidbMrF8FnXoWpUMI5bYKHvfVKCu9yoFcqDDygB50ISWtOSM0XILk+NyTHok8NKtAj7Xcnq+B/Y25r1shaXvf7hT7dtv6Hthy2sbAvhbv7TfuH/h7fRxoPyIhR0n4jIwzSi9JLd0uV3o54gbDv0a3a0//jk+z/F6vTmgvLV063hbLknOfGjnVgoJa5uffwzoQpamaPmlp2bwjGCYVVtftdvtWTWnIaHxpjKN+YXN44nXrRhTFs9itzUels1m2Hx1zB69qGV3vaQZduJmL3dZ6pB7flV+3/cGGg6WoV0Td5DReloaUybisoIF4JTP+zo5d0tRDsJ0jzkpVrGGicU3EwpeBrL4MH7Amhca6eGQ+7r3zkgIQk+711Sei1EKm4O3ynsMXj7TyK8/2WfMq7mbKzTIf/0AP5ZaZvc/8taJpWYbcXrD6rFuquy3DsT3DxEyzO/zNl02fpL2j4s4RkYsmNHjaa7cB+FlGoy4bXtFVpQyajPubfesLevl9a5PqdMhloQRJZCBmf+f3XZcyOXl8p+VvFn0aypta4F8E4fXULX89bfN+WAHVLgoX5W/AhgmK53LfYPOqwy5X8crqli5HLPHqG/5gp3apx8coNcF/4biE79oxDC+t6c9XoIqLdunug/8HXiaSRw==
  if (!$decode(&db,mb)) || (!$decompress(&db,b)) return
  bwrite htmlentitiesnames.db -1 -1 &db
  return 1
}

Comments

Sign in to comment.
^WeSt   -  16 days ago

What about https://pastebin.com/CRPp06iN is your html entities list missing some?

rockcavera  -  14 days ago

Updated database for 2238 entities!

Thanks.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.