~zodiacsohma/armagetronad/arma_colors_to_html_codes

« back to all changes in this revision

Viewing changes to index.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2013-12-15 00:41:37 UTC
  • Revision ID: zodiacsohma1@gmail.com-20131215004137-v7couhnt8wommgr2
Added 0xRESETT to the start of each line.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
$converted = false;
18
18
if (isset($_POST["convert"]))
19
19
{
20
 
    $text = $_POST["text"];
 
20
    $text = str_replace("\n", "\n0xRESETT", htmlentities($_POST["text"]));
21
21
 
22
22
    //$text = htmlentities('0xff0000Alpha 0x00ffffProject 0x33ebff<0x78ff29<0xff3c1f<  0xff0000LOVER$BOYs 0xff301eH0xffbf1ee0xb1ff1el0x1eff21l0x14ffacs 0xff301eR0xffb41fa0xcfff1ec0x58ff29i0x28ff76n0x29fff0g  0x33ebff>0x78ff29>0xff3c1f>');
23
23