You need to make double sure what size it is. If it's metric, hopefully it's 8mm which is the same as 5/16. Some of the other metric sizes won't cross over.
If you do find it's 5/16, you will need to go to Lowe's or someplace that has the proper compression fittings. The compression fitting you need will have a small tube insert that goes in the center of the line to support it while the compression ring squeezes it on the outside. If you buy a compression fitting that does not have this insert for support, the compression ring will squeeze down on the plastic and crush it. Steel and copper lines are stronger and don't need the insert.
They also have fuel injection plastic line repair kits in the auto store. I have never used one, but they are supposed to repair these plastic lines. I don't know if it would have something you could use.
I am curious how this works out for you, since when I get to a spot like that, I usually cut the plastic line out and use metal. If there is a spot that need to transition from the plastic to the metal, I take a heat gun and heat the metal fuel line on the end, and then push the plastic up over it, and use a very small hose clamp. This is not the best "official looking" splice, but it works and is reliable.