autophagy/insegel

Page width broken with long highlighted code

Closed this issue · 1 comments

Long highlighted code completely breaks the page width and line wrapping.
A fixed size for the box with a horizontal scrollbar would be expected.

grafik

.. _connections:

===========
Connections
===========

Connection objects implement :class:`ITargetConnection <boofuzz.ITargetConnection>`. Available options include
:class:`SocketConnection <boofuzz.SocketConnection>` and :class:`SerialConnection <boofuzz.SerialConnection>`.

Examples::

    tcp_connection = SocketConnection(host='127.0.0.1', port=17971)
    udp_connection = SocketConnection(host='127.0.0.1', port=17971, proto='udp')
    udp_connection_2_way = SocketConnection(host='127.0.0.1', port=17971, proto='udp', bind=('127.0.0.1', 17972)
    udp_broadcast = SocketConnection(host='127.0.0.1', port=17971, proto='udp', bind=('127.0.0.1', 17972),
                                     udp_broadcast=True)
    raw_layer_2 = (host='lo', proto='raw-l2')
    raw_layer_2 = (host='lo', proto='raw-l2',
                   l2_dst='\\xFF\\xFF\\xFF\\xFF\\xFF\\xFF', ethernet_proto=socket_connection.ETH_P_IP)
    raw_layer_3 = (host='lo', proto='raw-l3')

@SR4ven This should now be fixed with version 1.3.1.