NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/lib/vendor/soundasleep/html2text/convert.php

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

convert.php on main
Author Date Commit Line Code
andre.peters over 8 years ago 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2
Open commit View diff
2
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
3
/******************************************************************************
Open commit View diff
3 /******************************************************************************
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
4
 * Copyright (c) 2010 Jevon Wright and others.
Open commit View diff
4 * Copyright (c) 2010 Jevon Wright and others.
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5
 * All rights reserved. This program and the accompanying materials
Open commit View diff
5 * All rights reserved. This program and the accompanying materials
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
6
 * are made available under the terms of the Eclipse Public License v1.0
Open commit View diff
6 * are made available under the terms of the Eclipse Public License v1.0
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
7
 * which accompanies this distribution, and is available at
Open commit View diff
7 * which accompanies this distribution, and is available at
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
8
 * http://www.eclipse.org/legal/epl-v10.html
Open commit View diff
8 * http://www.eclipse.org/legal/epl-v10.html
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
9
 *
Open commit View diff
9 *
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
10
 * or
Open commit View diff
10 * or
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
11
 *
Open commit View diff
11 *
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
12
 * LGPL which is available at http://www.gnu.org/licenses/lgpl.html
Open commit View diff
12 * LGPL which is available at http://www.gnu.org/licenses/lgpl.html
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
13
 *
Open commit View diff
13 *
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
14
 *
Open commit View diff
14 *
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
15
 * Contributors:
Open commit View diff
15 * Contributors:
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
16
 *    Jevon Wright - initial API and implementation
Open commit View diff
16 * Jevon Wright - initial API and implementation
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
17
 ****************************************************************************/
Open commit View diff
17 ****************************************************************************/
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
18
Open commit View diff
18
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
19
/**
Open commit View diff
19 /**
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
20
 * This file allows you to convert through the command line.
Open commit View diff
20 * This file allows you to convert through the command line.
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
21
 * Usage:
Open commit View diff
21 * Usage:
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
22
 *   php -f convert.php [input file]
Open commit View diff
22 * php -f convert.php [input file]
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
23
 */
Open commit View diff
23 */
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
24
Open commit View diff
24
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
25
if (count($argv) < 2) {
Open commit View diff
25 if (count($argv) < 2) {
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
26
	throw new \InvalidArgumentException("Expected: php -f convert.php [input file]");
Open commit View diff
26 throw new \InvalidArgumentException("Expected: php -f convert.php [input file]");
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
27
}
Open commit View diff
27 }
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
28
Open commit View diff
28
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
29
if (!file_exists($argv[1])) {
Open commit View diff
29 if (!file_exists($argv[1])) {
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
30
	throw new \InvalidArgumentException("'" . $argv[1] . "' does not exist");
Open commit View diff
30 throw new \InvalidArgumentException("'" . $argv[1] . "' does not exist");
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
31
}
Open commit View diff
31 }
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
32
Open commit View diff
32
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
33
$input = file_get_contents($argv[1]);
Open commit View diff
33 $input = file_get_contents($argv[1]);
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
34
Open commit View diff
34
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
35
require_once(__DIR__ . "/src/Html2Text.php");
Open commit View diff
35 require_once(__DIR__ . "/src/Html2Text.php");
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
36
require_once(__DIR__ . "/src/Html2TextException.php");
Open commit View diff
36 require_once(__DIR__ . "/src/Html2TextException.php");
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
37
Open commit View diff
37
same change 79cb929

[Web] Add html2text converter; Show quarantaine html elements as text, do not escape html

Full commit hash
79cb9299119cf613e9bbfe714c540cc8b4b90365
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
38
echo Html2Text\Html2Text::convert($input);
Open commit View diff
38 echo Html2Text\Html2Text::convert($input);