diff options
author | emkael <emkael@tlen.pl> | 2018-11-13 22:14:47 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-11-13 22:14:47 +0100 |
commit | 7efac0bbb4d10ea6635ed0c0534b3cb08fc21520 (patch) | |
tree | 06955caec553dd3b3b7753bec96e91066f8636a0 /tdd/tdd-bootstrap.php | |
parent | 5ca1be26b4c44d8991bc0a39bc7fa9fd4c41e3c0 (diff) |
Code formatting
Diffstat (limited to 'tdd/tdd-bootstrap.php')
-rw-r--r-- | tdd/tdd-bootstrap.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdd/tdd-bootstrap.php b/tdd/tdd-bootstrap.php index c4249c9..88f8752 100644 --- a/tdd/tdd-bootstrap.php +++ b/tdd/tdd-bootstrap.php @@ -38,7 +38,7 @@ class Protocol { $content = file_get_contents($this->get_filename()); $dom = str_get_html($content); - $header_td1 = $dom->find("/html/body/table/tr/td[class=\"bdcc12\"]", 0); + $header_td1 = $dom->find('/html/body/table/tr/td[class="bdcc12"]', 0); $header_tr = $header_td1->parent; $tr = @$header_tr->next_sibling(); while($tr) { @@ -78,8 +78,8 @@ class Protocol { $head = $dom->find('/html/head', 0); $head->innertext .= '<link rel="stylesheet" type="text/css" href="css/tdd.css" />' - . '<script src="https://code.jquery.com/jquery-3.3.1.min.js" type="text/javascript"></script>' - . '<script src="sklady/tdd.js" type="text/javascript"></script>'; + . '<script src="https://code.jquery.com/jquery-3.3.1.min.js" type="text/javascript"></script>' + . '<script src="sklady/tdd.js" type="text/javascript"></script>'; // replacing meta http-equiv refresh with a javascript refresh to preserve hash in the result page $meta = $head->find('meta'); |