Skip to content

Commit 89bb40c

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Added additional file existence check on temporary file cleanup for dumpFile method fix lexing inline sequences/mappings with trailing whitespaces Added test for issue 39229 [Console] Enable hyperlinks in Konsole/Yakuake
2 parents 037b57a + 3a5f8b0 commit 89bb40c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Formatter/OutputFormatterStyle.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ public function apply(string $text)
166166
$unsetCodes = [];
167167

168168
if (null === $this->handlesHrefGracefully) {
169-
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR') && !getenv('KONSOLE_VERSION');
169+
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR')
170+
&& (!getenv('KONSOLE_VERSION') || (int) getenv('KONSOLE_VERSION') > 201100);
170171
}
171172

172173
if (null !== $this->foreground) {

0 commit comments

Comments
 (0)